Installation permission bugs fixed.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@842 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-03-03 01:41:54 +00:00
parent 3fab89624a
commit 6693e0a874
2 changed files with 87 additions and 12 deletions
+6
View File
@@ -242,8 +242,14 @@ for PACKAGE in `selected_packages`; do
COMPFILE="$(package_filename $PACKAGE)"
eval LOCATION="\$UQM_PACKAGE_${PACKAGE}_LOCATION"
unzip -od "${PREFIX}${LOCATION}" "$COMPFILE"
# Next line is a workaround, as the content zips have files
# with the wrong permissions in them. Should be fixed for the
# next release.
chmod go+rX "${PREFIX}${LOCATION}"
done
echo "Unpacking other stuff..."
tail -c @ATTACHLEN@ < "$0" | gzip -dc | tar -xf - -C "$PREFIX"