games/pachi-game-engine: Remove files that aren't needed.
This commit is contained in:
parent
19fd26746e
commit
602447b2e0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503851
2 changed files with 0 additions and 31 deletions
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: head/games/pachi/files/pkg-deinstall.in 454856 2017-11-24 23:17:50Z dbaio $
|
||||
|
||||
[ "$2" != "POST-DEINSTALL" ] && exit 0
|
||||
|
||||
# remove scorefile if it's empty
|
||||
[ "`md5 -q '%%SCOREFILE%%'`" = 7ba69f4ec41007c035beb73aa29d6b32 ] && rm -f "%%SCOREFILE%%" 2>/dev/null
|
||||
rmdir "%%SCOREDIR%%" 2>/dev/null
|
||||
|
||||
if [ -e "%%SCOREDIR%%" ]; then
|
||||
echo
|
||||
echo "To completely remove the port, please remove the following"
|
||||
echo "directory manually, if it's no longer needed:"
|
||||
echo
|
||||
echo " %%SCOREDIR%%"
|
||||
echo
|
||||
fi
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: head/games/pachi/files/pkg-install.in 353752 2014-05-12 00:27:51Z amdmi3 $
|
||||
|
||||
[ "$2" != "POST-INSTALL" ] && exit 0
|
||||
[ -e "%%SCOREFILE%%" ] && exit 0
|
||||
|
||||
mkdir -p "%%SCOREDIR%%"
|
||||
|
||||
# Empty scorefile contains 170 zero bytes
|
||||
dd if=/dev/zero of="%%SCOREFILE%%" bs=170 count=1 2>/dev/null
|
||||
chgrp -R games "%%SCOREDIR%%"
|
||||
chmod g+w "%%SCOREFILE%%"
|
Loading…
Reference in a new issue