mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 14:04:34 +00:00
Clean deleted connector runtime before sync
This commit is contained in:
@@ -10,6 +10,11 @@ if ! php "$SCRIPT_DIR/reconcile.php"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! php "$SCRIPT_DIR/cleanup-stale.php"; then
|
||||||
|
echo "NC Connector: verwaiste Laufzeitdateien konnten nicht bereinigt werden." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
configs=("$CONFIG_DIR"/connection-*.conf)
|
configs=("$CONFIG_DIR"/connection-*.conf)
|
||||||
|
|
||||||
if [[ ${#configs[@]} -eq 0 ]]; then
|
if [[ ${#configs[@]} -eq 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user