Initialer Import des AssetManagers
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
ROOT="${1:-/srv/docker/assetmanager}"
|
||||
cd "$ROOT"
|
||||
echo "VERSION: $(cat VERSION)"
|
||||
grep -n 'APP_VERSION = "0.5.5.5"' app/version.py
|
||||
grep -n 'powershell -ExecutionPolicy Bypass -File' app/software_control.py
|
||||
if sed -n '/def _launch_uploaded_script/,/return _run_meshctrl/p' app/software_control.py | grep -q "action=.*--powershell"; then
|
||||
echo "FEHLER: _launch_uploaded_script enthält --powershell" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Dateien auf dem Host sind korrekt."
|
||||
Reference in New Issue
Block a user