summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-12-19 16:12:57 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-12-19 16:12:57 +0000
commit7b7ddc127dc1596171d1e144433b7d2137f7a9dc (patch)
tree6b9a0436ec4beb5204ead278933a0a6f5c638806 /games-rpg/nwn/files
parentUse python eclass functions to determine installed python version. (diff)
downloadhistorical-7b7ddc127dc1596171d1e144433b7d2137f7a9dc.tar.gz
historical-7b7ddc127dc1596171d1e144433b7d2137f7a9dc.tar.bz2
historical-7b7ddc127dc1596171d1e144433b7d2137f7a9dc.zip
Fixing fixinstall file and made it install properly.
Package-Manager: portage-2.0.53
Diffstat (limited to 'games-rpg/nwn/files')
-rwxr-xr-xgames-rpg/nwn/files/fixinstall6
1 files changed, 4 insertions, 2 deletions
diff --git a/games-rpg/nwn/files/fixinstall b/games-rpg/nwn/files/fixinstall
index f92a9d9707c6..c324b61bf89e 100755
--- a/games-rpg/nwn/files/fixinstall
+++ b/games-rpg/nwn/files/fixinstall
@@ -92,7 +92,8 @@ chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
chmod g+rwX GENTOO_DIR/nwn/ -R
# 1.65-specific fixes to permissions
-chmod a-x GENTOO_DIR/nwn/data/patch.bif 2>&1 > /dev/null
+[ -e GENTOO_DIR/nwn/data/patch.bif ] && \
+ chmod a-x GENTOO_DIR/nwn/data/patch.bif 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter1.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter1E.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter2.nwm 2>&1 > /dev/null
@@ -100,6 +101,7 @@ chmod a-x GENTOO_DIR/nwn/nwm/Chapter2E.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter3.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter4.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Prelude.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/patch.key 2>&1 > /dev/null
+[ -e GENTOO_DIR/nwn/patch.key ] && \
+ chmod a-x GENTOO_DIR/nwn/patch.key 2>&1 > /dev/null
printf "\nYou are ready to run Neverwinter Nights.\n\n"