From 2584eee860c47d41dddbdf03daaaa0a8187c2925 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 7 Aug 2025 17:49:05 +0200 Subject: Ignore KG2-specific files --- .gitignore | 4 ++++ pack.sh | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f05cb489..a3f6292a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,10 @@ nbproject/ /client_config_additional.php apis/tmpUploads/* /modules/ +# KG2-specific panel +Monotype-* +kg2.css +*-kg2.html # Not sure about these... .idea/php.xml .idea/vcs.xml diff --git a/pack.sh b/pack.sh index e9ed8b45..e82a22f7 100755 --- a/pack.sh +++ b/pack.sh @@ -1,6 +1,9 @@ #!/bin/sh -tar ckzf slx-admin.tar.gz api.php index.php apis fonts inc lang modules-available Mustache script style install.php install-all || exit 1 +tar --exclude="Monotype-*" --exclude="kg2.css" --exclude="*-kg2.html" -v -c -k -z -f slx-admin.tar.gz \ + api.php index.php \ + apis fonts inc lang modules-available Mustache script style \ + install.php install-all || exit 1 if [ "$1" = "--deploy" ]; then scp slx-admin.tar.gz root@132.230.4.17:install/slx-admin.tar.gz -- cgit v1.2.3-55-g7522