File: hide-game.in

package info (click to toggle)
bsdgames 2.5-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,412 kB
  • ctags: 4,665
  • sloc: ansic: 59,763; sh: 643; yacc: 327; lex: 79; makefile: 53; sed: 13; csh: 5
file content (7 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
# hide-game.in - hide a game (only used if appropriate)

set -e

test -d @install_prefix@@libexecdir@ || @install_dmdir@ @install_prefix@@libexecdir@
mv -f @install_prefix@@gamesdir@/$1 @install_prefix@@libexecdir@
ln -s dm @install_prefix@@gamesdir@/$1