Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-05-27 22:33:03 +0300
committernachoparker <nacho@ownyourbits.com>2018-05-28 12:32:13 +0300
commita070860a58440326861583958d7186cc568eef48 (patch)
tree3ad3dab8a66238a53cde38d0e57f2bac7a87e090 /update.sh
parent003c29c016b1b6223425662212a0c76b4ccee829 (diff)
re-rename to NCPiv0.56.14
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index c15ea0e1..dcbdfc81 100755
--- a/update.sh
+++ b/update.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Updater for NextCloudPlus
+# Updater for NextCloudPi
#
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
# GPL licensed (see end of file) * Use at your own risk!
@@ -228,6 +228,11 @@ done
rm -f /etc/systemd/system/nc-notify-updates.timer
}
+ # Update files after re-renaming to NCPi
+ sed -i 's|NextCloudPlus automatically|NextCloudPi automatically|' /etc/samba/smb.conf
+ sed -i 's|NextCloudPlus autogenerated|NextCloudPi autogenerated|' /etc/dhcpcd.conf
+ sed -i 's|NextCloudPlus|NextCloudPi|' /etc/fail2ban/action.d/sendmail-whois-lines.conf
+
} # end - only live updates
exit 0