reverse gt symbol

This commit is contained in:
Heavybullets8 2022-12-15 07:10:21 +00:00 committed by GitHub
parent 211fb7b488
commit a3c052dce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ export -f sync
prune(){
echo -e "🄿 🅁 🅄 🄽 🄴"
version="$(cli -c 'system version' | awk -F '-' '{print $3}' | tr -d " \t\r\.")"
if (( "$version" <= 22120 )); then
if (( "$version" >= 22120 )); then
if ! cli -c 'app container config prune prune_options={"remove_unused_images": true, "remove_stopped_containers": true}' | head -n -4; then
echo "Failed to Prune Docker Images"
fi
@ -97,4 +97,4 @@ echo "bash /mnt/tank/scripts/heavy_script.sh --delete-backup"
echo
exit
}
export -f help
export -f help