From ba62a34974864a24beec3ca8987b00829c8a784e Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Wed, 9 May 2018 15:14:34 +0200 Subject: [PATCH] F #1692: Added DESTDIR to main locations (#2077) --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 3cc2540ec2..c49a65df17 100755 --- a/install.sh +++ b/install.sh @@ -2048,9 +2048,9 @@ fi if [ "$UNINSTALL" = "no" ] ; then if [ "$SUNSTONE" = "yes" ] || [ "$SUNSTONE_DEV" = "yes" ] ; then - touch $VAR_LOCATION/sunstone/main.js - rm $SUNSTONE_LOCATION/public/dist/main.js - ln -s $VAR_LOCATION/sunstone/main.js $SUNSTONE_LOCATION/public/dist/main.js + touch $DESTDIR$VAR_LOCATION/sunstone/main.js + rm $DESTDIR$SUNSTONE_LOCATION/public/dist/main.js + ln -s $VAR_LOCATION/sunstone/main.js $DESTDIR$SUNSTONE_LOCATION/public/dist/main.js fi for d in $CHOWN_DIRS; do chown -R $ONEADMIN_USER:$ONEADMIN_GROUP $DESTDIR$d