summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2025-08-07 17:49:05 +0200
committerSimon Rettberg2025-08-07 17:49:05 +0200
commit2584eee860c47d41dddbdf03daaaa0a8187c2925 (patch)
treea37d2a82e351452d7f78ca6c57a3b571dd86345e
parentapi/cron: Add log line when job finished successfully (diff)
downloadslx-admin-2584eee860c47d41dddbdf03daaaa0a8187c2925.tar.gz
slx-admin-2584eee860c47d41dddbdf03daaaa0a8187c2925.tar.xz
slx-admin-2584eee860c47d41dddbdf03daaaa0a8187c2925.zip
Ignore KG2-specific files
-rw-r--r--.gitignore4
-rwxr-xr-xpack.sh5
2 files changed, 8 insertions, 1 deletions
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