ActivityPub-federated video streaming platform using P2P directly in your web browser
Update shebang and date to POSIX format for working on FreeBSD (not tested on Linux)
Gérald Niel1069d3a4dc32
diff --git a/scripts/upgrade.sh b/scripts/upgrade.shindex 9baf50932c..a0abe7ea61 100755--- a/scripts/upgrade.sh+++ b/scripts/upgrade.sh@@ -1,10 +1,10 @@-#!/bin/bash+#!/usr/bin/env bash# Strict modeset -e# Backup database-SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date -Im).bak"+SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%h%m\").bak"mkdir -p /var/www/peertube/backuppg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH"