Fix path to Peertube installation in upgrade.sh
This commit is contained in:
parent
d2640682f6
commit
0216c3485d
1 changed files with 2 additions and 2 deletions
|
@ -91,10 +91,10 @@ echo "=========================================================="
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
if [ -x "$(command -v git)" ]; then
|
if [ -x "$(command -v git)" ]; then
|
||||||
cd /var/www/peertube
|
cd $PEERTUBE_PATH
|
||||||
|
|
||||||
git merge-file -p config/production.yaml "$LATEST_VERSION_DIRECTORY/config/production.yaml.example" "peertube-latest/config/production.yaml.example" | tee "config/production.yaml.new" > /dev/null
|
git merge-file -p config/production.yaml "$LATEST_VERSION_DIRECTORY/config/production.yaml.example" "peertube-latest/config/production.yaml.example" | tee "config/production.yaml.new" > /dev/null
|
||||||
echo "/var/www/peertube/config/production.yaml.new generated"
|
echo "$PEERTUBE_PATH/config/production.yaml.new generated"
|
||||||
echo "You can review it and replace your existing production.yaml configuration"
|
echo "You can review it and replace your existing production.yaml configuration"
|
||||||
else
|
else
|
||||||
echo "git command not found: unable to generate config/production.yaml.new configuration file based on your existing production.yaml configuration"
|
echo "git command not found: unable to generate config/production.yaml.new configuration file based on your existing production.yaml configuration"
|
||||||
|
|
Loading…
Reference in a new issue