F #1692: Added DESTDIR to main locations (#2077)

This commit is contained in:
Abel Coronado authored and Ruben S. Montero committed 2018-05-09 15:14:34 +02:00
1 parent eb7de39df9
commit ba62a34974
1 file changed
+3 -3
+3 -3
View File
@@ -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