Skip to content
Snippets Groups Projects
Commit d182a363 authored by Bob Mottram's avatar Bob Mottram
Browse files

Check that file exists

parent 80f041a5
No related branches found
No related tags found
No related merge requests found
......@@ -63,9 +63,11 @@ if [ $DEVELOPMENT_BRANCH ]; then
fi
fi
if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
# update to using the password manager
sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
if [ -f /usr/bin/backupdatabases ]; then
if grep -q "cat /root/dbpass" /usr/bin/backupdatabases; then
# update to using the password manager
sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
fi
fi
#update-ca-certificates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment