diff --git a/debian/resources/postgres.sh b/debian/resources/postgres.sh index c27f091..2d02411 100755 --- a/debian/resources/postgres.sh +++ b/debian/resources/postgres.sh @@ -55,7 +55,7 @@ systemctl restart postgresql #enable and run the backup cp backup/fusionpbx-backup.sh /etc/cron.daily chmod 755 /etc/cron.daily/fusionpbx-backup.sh -sed -i 's/zzz/$password/g' /etc/cron.daily/fusionpbx-backup.sh +sed -i "s/zzz/$password/g" /etc/cron.daily/fusionpbx-backup.sh /etc/cron.daily/fusionpbx-backup.sh #move to /tmp to prevent a red herring error when running sudo with psql