summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/aigaion/aigaion.SlackBuild4
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