diff options
author | David Spencer | 2018-04-15 20:58:05 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2018-04-21 02:42:58 +0200 |
commit | 9c143f918cc6cacb187b71792bb2b2b97c4a8a7e (patch) | |
tree | 6baf65347e57285543ca6fe72e16661f63137a51 /office | |
parent | 20d7fd62cbe68308b4dff088fe104d70b4e20473 (diff) | |
download | old.slackbuilds-9c143f918cc6cacb187b71792bb2b2b97c4a8a7e.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 |