fix: Make update script work from anywhere (#19965)

Makes update script work from anywhere changing the current directory to where the file is located.
This commit is contained in:
Impact
2023-12-02 19:48:17 +01:00
committed by GitHub
parent 6619146028
commit 346cb90e9e
+1
View File
@@ -1,4 +1,5 @@
#!/bin/bash -e
cd "$(dirname "$0")"
if [ -d data-backup ]; then
echo "ERROR: Backup directory exists. May be previous restoring was failed?"