mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
set product name (#2119)
This commit is contained in:
parent
b88b966e71
commit
f52cd2bd8b
@ -68,6 +68,21 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set product name
|
||||
if home_sme_server
|
||||
then
|
||||
PRODUCTNAME="Nextcloud HanssonIT Server"
|
||||
else
|
||||
PRODUCTNAME="Nextcloud HanssonIT VM"
|
||||
fi
|
||||
if is_app_installed theming
|
||||
then
|
||||
if [ "$(nextcloud_occ config:app:get theming productName)" != "$PRODUCTNAME" ]
|
||||
then
|
||||
nextcloud_occ config:app:set theming productName --value "$PRODUCTNAME"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Inform about started update
|
||||
notify_admin_gui \
|
||||
"Update script started!" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user