diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-04-15 19:58:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-21 07:42:58 +0700 |
commit | b5ab1c4f457ff251b6016e6c1257b136391244c3 (patch) | |
tree | 004200570752dae7adffff5fd042d17450ce1a64 /office | |
parent | 6e25073f281c31e5664899c9deb27abd83521b7c (diff) | |
download | slackbuilds-b5ab1c4f457ff251b6016e6c1257b136391244c3.tar.gz |
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>
Diffstat (limited to 'office')
-rw-r--r-- | office/aigaion/aigaion.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/office/aigaion/aigaion.SlackBuild b/office/aigaion/aigaion.SlackBuild index f4762f518e..c048654cb3 100644 --- a/office/aigaion/aigaion.SlackBuild +++ b/office/aigaion/aigaion.SlackBuild @@ -15,7 +15,6 @@ TAG=${TAG:-_SBo} MAJORVERSION=2 DOCROOT=${DOCROOT:-/var/www/htdocs} -ATTACH=${ATTACH:-$PKG/$DOCROOT/$PRGNAM$MAJORVERSION/attachments} PHPUSER=${PHPUSER:-root} PHPGROUP=${PHPGROUP:-apache} @@ -57,7 +56,8 @@ cp -a $TMP/$PRGNAM$MAJORVERSION $PKG/$DOCROOT # install.zip is packed inside the main zip file cd $PKG/$DOCROOT/$PRGNAM$MAJORVERSION/install unzip install.zip -mkdir -p $ATTACH + +mkdir -p ${ATTACH:-$PKG/$DOCROOT/$PRGNAM$MAJORVERSION/attachments} chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM$MAJORVERSION |