From: GĂ©rald Niel Date: Mon, 19 Mar 2018 21:13:29 +0000 (+0100) Subject: Update shebang and date format for working on FreeBSD (fix typo) X-Git-Tag: v1.0.0-beta.1~5^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8087a5476ecb4659949794b5c5978481c991cec;p=oweals%2Fpeertube.git Update shebang and date format for working on FreeBSD (fix typo) (not tested on Linux) --- diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index a0abe7ea6..bd90ce560 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -4,7 +4,7 @@ set -e # Backup database -SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%h%m\").bak" +SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%H%M\").bak" mkdir -p /var/www/peertube/backup pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH"