This commit is contained in:
Alexandre
2023-03-31 21:55:37 +02:00
3 changed files with 5 additions and 7 deletions

View File

@@ -11,14 +11,11 @@ if [ -f /config/"${slug}".sh ]; then
mv -f /config/"${slug}".sh /config/addons_autoscripts/"${slug}".sh
fi
# Convert scripts to linux
if [ -f /usr/bin/dos2unix ]; then
dos2unix /config/addons_autoscripts/"${slug}".sh
fi
# Execute scripts
if [ -f /config/addons_autoscripts/"${slug}".sh ]; then
bashio::log.info "... script found, executing"
# Convert scripts to linux
dos2unix /config/addons_autoscripts/"${slug}".sh
chmod +x /config/addons_autoscripts/"${slug}".sh
/./config/addons_autoscripts/"${slug}".sh
else

View File

@@ -1,5 +1,6 @@
- WARNING : PLEASE BACKUP NEXTCLOUD & MARIADB ADDONS BEFORE UPDATING !
- WARNING : Enables by default updater ; you can disable it with the option "disable_updates"
### 26.0.0-5 (31-03-2023)
- ⚠ WARNING : PLEASE BACKUP NEXTCLOUD & MARIADB ADDONS BEFORE UPDATING !
- ⚠ WARNING : Enables by default updater ; you can disable it with the option "disable_updates"
- Improved updater code
- Autocorrection of permission errors in data directory

0
nextcloud/rootfs/etc/cont-init.d/98-upgrade.sh Normal file → Executable file
View File