1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/games/blobby/blobby.sh
2022-12-01 16:35:59 +01:00

11 lines
221 B
Bash

#! @shell@
test -d ~/.blobby || {
mkdir ~/.blobby
cp -r "@out@/share/blobby"/* ~/.blobby
chmod u+w -R ~/.blobby
( cd ~/.blobby; for i in *.zip; do @unzip@/bin/unzip "$i"; done )
}
exec @out@/bin/blobby.bin "$@"