core/pkgs/build-support/setup-hooks/gog-unpack.sh

12 lines
219 B
Bash
Raw Permalink Normal View History

2024-05-02 00:46:19 +00: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
}