bscpkgs/bsc/setup-hooks/gog-unpack.sh

12 lines
219 B
Bash
Raw Normal View History

2020-06-15 11:54:22 +02:00
unpackPhase="unpackGog"
unpackGog() {
runHook preUnpackGog
innoextract --silent --extract --exclude-temp "${src}"
find . -depth -print -execdir rename -f 'y/A-Z/a-z/' '{}' \;
runHook postUnpackGog
}