mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
office/aigaion: Fixed SlackBuild.
Don't install to the build system (caused by using $PKG before it's been defined). Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
6e25073f28
commit
b5ab1c4f45
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,6 @@ TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
MAJORVERSION=2
|
MAJORVERSION=2
|
||||||
DOCROOT=${DOCROOT:-/var/www/htdocs}
|
DOCROOT=${DOCROOT:-/var/www/htdocs}
|
||||||
ATTACH=${ATTACH:-$PKG/$DOCROOT/$PRGNAM$MAJORVERSION/attachments}
|
|
||||||
|
|
||||||
PHPUSER=${PHPUSER:-root}
|
PHPUSER=${PHPUSER:-root}
|
||||||
PHPGROUP=${PHPGROUP:-apache}
|
PHPGROUP=${PHPGROUP:-apache}
|
||||||
|
@ -57,7 +56,8 @@ cp -a $TMP/$PRGNAM$MAJORVERSION $PKG/$DOCROOT
|
||||||
# install.zip is packed inside the main zip file
|
# install.zip is packed inside the main zip file
|
||||||
cd $PKG/$DOCROOT/$PRGNAM$MAJORVERSION/install
|
cd $PKG/$DOCROOT/$PRGNAM$MAJORVERSION/install
|
||||||
unzip install.zip
|
unzip install.zip
|
||||||
mkdir -p $ATTACH
|
|
||||||
|
mkdir -p ${ATTACH:-$PKG/$DOCROOT/$PRGNAM$MAJORVERSION/attachments}
|
||||||
|
|
||||||
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM$MAJORVERSION
|
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM$MAJORVERSION
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue