diff options
author | camthesaxman <cameronghall@cox.net> | 2017-10-08 18:24:27 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-10-08 18:24:27 -0500 |
commit | da47efa83ac2e9f3e69ef88c90be8416c329c4fb (patch) | |
tree | d55cc22f51cfff567535d9ee1438d80da4cd9604 | |
parent | 008f0b69d0488cf75220df7312a44041c9a24e91 (diff) |
remove script
-rwxr-xr-x | delete_palettes.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/delete_palettes.sh b/delete_palettes.sh deleted file mode 100755 index e696ac819..000000000 --- a/delete_palettes.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -palfiles=$(find graphics -type f -name '*.gbapal') - -for f in $palfiles -do - base=$(echo $f | cut -f 1 -d '.') - if [ -e "$base.png" ] && [ -e "$base.pal" ] - then - if tools/gbagfx/gbagfx "$base.png" "$base.new.gbapal" - then - if cmp --silent "$f" "$base.new.gbapal" - then - rm "$base.pal" - #echo "deleted $base.pal" - else - echo "warning: $base.png contains a nonmatching palette" - fi - rm "$base.new.gbapal" - fi - fi -done |