|
@@ -63,9 +63,11 @@ if [ $DEVELOPMENT_BRANCH ]; then
|
63
|
63
|
fi
|
64
|
64
|
fi
|
65
|
65
|
|
66
|
|
-if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
|
67
|
|
- # update to using the password manager
|
68
|
|
- sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
|
|
66
|
+if [ -f /usr/bin/backupdatabases ]; then
|
|
67
|
+ if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
|
|
68
|
+ # update to using the password manager
|
|
69
|
+ sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
|
|
70
|
+ fi
|
69
|
71
|
fi
|
70
|
72
|
|
71
|
73
|
#update-ca-certificates
|