mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-09-18 21:57:46 -04:00
🗃️ Committing everything that changed 🗃️
applications/ configs/ lists/ wwwroot/
This commit is contained in:
11
applications/commitment/scripts/commands.sh
Normal file
11
applications/commitment/scripts/commands.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
EXEC_CMD_BIN="python3" # command to execute
|
||||
EXEC_CMD_ARGS="$WWW_DIR/commit.py" # command arguments
|
||||
|
||||
__replace "5000" "$SERVICE_PORT" "$WWW_DIR/commit.py"
|
||||
if [ -f "$CONF_DIR/messages.local" ]; then
|
||||
cat "$CONF_DIR/messages.local" "$WWW_DIR/commit_messages.txt" 2>/dev/null | sort -u >"$WWW_DIR/commit_messages.txt.tmp"
|
||||
mv -f "$WWW_DIR/commit_messages.txt.tmp" "$WWW_DIR/commit_messages.txt"
|
||||
fi
|
||||
if [ -f "$CONF_DIR/humans.local" ]; then
|
||||
mv -f "$CONF_DIR/humans.local" "$WWW_DIR/main/static/humans.txt"
|
||||
fi
|
0
applications/commitment/scripts/install.sh
Normal file
0
applications/commitment/scripts/install.sh
Normal file
0
applications/commitment/scripts/packages.sh
Normal file
0
applications/commitment/scripts/packages.sh
Normal file
Reference in New Issue
Block a user