From b5ab1c4f457ff251b6016e6c1257b136391244c3 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 15 Apr 2018 19:58:05 +0100 Subject: 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 --- office/aigaion/aigaion.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'office/aigaion') 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 -- cgit v1.2.3