make in to sibling project
This commit is contained in:
@@ -14,6 +14,13 @@ HAMCLOCK_DATA_FILES=(
|
||||
".hamclock"
|
||||
)
|
||||
|
||||
# Nothing to do once the files have been migrated
|
||||
migrate=false
|
||||
for f in "${HAMCLOCK_DATA_FILES[@]}"; do
|
||||
[ -f "$OLD_DIR/$f" ] && migrate=true
|
||||
done
|
||||
[ "$migrate" = true ] || exit 0
|
||||
|
||||
echo "Stopping hamclock service..."
|
||||
sudo systemctl stop hamclock 2>/dev/null || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user