diff options
author | Gérald Niel <gerald.niel@gegeweb.org> | 2018-03-19 22:13:29 +0100 |
---|---|---|
committer | Gérald Niel <gerald.niel@gegeweb.org> | 2018-03-19 22:13:29 +0100 |
commit | f8087a5476ecb4659949794b5c5978481c991cec (patch) | |
tree | bb605356c70e6ed7425472f94e9cb2b4dcd1917c | |
parent | 1069d3a4dc322da05866f17755b2d2ecc99fcfe8 (diff) | |
download | PeerTube-f8087a5476ecb4659949794b5c5978481c991cec.tar.gz PeerTube-f8087a5476ecb4659949794b5c5978481c991cec.tar.zst PeerTube-f8087a5476ecb4659949794b5c5978481c991cec.zip |
Update shebang and date format for working on FreeBSD (fix typo)
(not tested on Linux)
-rwxr-xr-x | scripts/upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
4 | set -e | 4 | set -e |
5 | 5 | ||
6 | # Backup database | 6 | # Backup database |
7 | SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%h%m\").bak" | 7 | SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%H%M\").bak" |
8 | mkdir -p /var/www/peertube/backup | 8 | mkdir -p /var/www/peertube/backup |
9 | pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" | 9 | pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" |
10 | 10 | ||