1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

Remove main.js on install

This commit is contained in:
Ruben S. Montero 2018-05-09 17:52:48 +02:00
parent a872eb2390
commit 192d535930

View File

@ -2063,7 +2063,7 @@ fi
if [ "$UNINSTALL" = "no" ] ; then
if [ "$SUNSTONE" = "yes" ] || [ "$SUNSTONE_DEV" = "yes" ] ; then
touch $DESTDIR$VAR_LOCATION/sunstone/main.js
rm $DESTDIR$SUNSTONE_LOCATION/public/dist/main.js
rm -f $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