mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
11 lines
255 B
Bash
11 lines
255 B
Bash
#!/bin/bash
|
|
|
|
LEGACY_DIR='/opt/Fluxer Canary'
|
|
if [ -d "$LEGACY_DIR" ]; then
|
|
if [ -z "$(find "$LEGACY_DIR" ! -type d -print -quit 2>/dev/null)" ]; then
|
|
find "$LEGACY_DIR" -depth -type d -exec rmdir {} + >/dev/null 2>&1 || true
|
|
fi
|
|
fi
|
|
|
|
exit 0
|