Check that file exists
This commit is contained in:
parent
80f041a5ce
commit
d182a363b6
|
@ -63,9 +63,11 @@ if [ $DEVELOPMENT_BRANCH ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
|
if [ -f /usr/bin/backupdatabases ]; then
|
||||||
# update to using the password manager
|
if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
|
||||||
sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
|
# update to using the password manager
|
||||||
|
sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#update-ca-certificates
|
#update-ca-certificates
|
||||||
|
|
Loading…
Reference in New Issue