diff --git a/scripts/backup b/scripts/backup index 5dddfb2..8ea686b 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash app=pluxml app_path=/var/www/$app @@ -6,4 +6,4 @@ save_path=$1 sudo mkdir -p $save_path sudo cp -R $app_path/data $save_path/ -sudo cp $app_path/config.php $save_path/ \ No newline at end of file +sudo cp $app_path/config.php $save_path/ diff --git a/scripts/install b/scripts/install index b09fcd6..43fb38c 100644 --- a/scripts/install +++ b/scripts/install @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash app=pluxml diff --git a/scripts/remove b/scripts/remove index 3bae481..edf6e8c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash app=pluxml domain=$(sudo yunohost app setting $app domain) diff --git a/scripts/restore b/scripts/restore index 0ded1d3..715ac07 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash app=pluxml app_path=/var/www/$app diff --git a/scripts/upgrade b/scripts/upgrade index 8c630c2..706a86d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash app=pluxml