From 23d34b30d86e584017b6575c7e271a5a9aad3a44 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 23 Oct 2022 00:21:11 +0000 Subject: [PATCH] Github bot : script beautyshied --- .templates/92-local_mounts.sh | 2 +- nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index d999c3261..177b786d8 100644 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -45,7 +45,7 @@ if bashio::config.has_value 'localdisks'; then # Mount # shellcheck disable=SC2015 mount "$devpath"/"$disk" -o "uid=$PUID,gid=$PGID" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || \ - mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk) + mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk) done diff --git a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh index 73813ed6c..02871181d 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh @@ -11,5 +11,5 @@ done # Use php7 if [ -f /data/config/crontabs/root ]; then - sed -i "s|php7|php|g" /data/config/crontabs/root + sed -i "s|php7|php|g" /data/config/crontabs/root fi