From c969b6899d88bd5859be2e9a81451f11f7d5e11d Mon Sep 17 00:00:00 2001 From: Moul Date: Tue, 14 Jun 2016 12:25:46 +0200 Subject: [PATCH] [fix] bash header. --- scripts/backup | 4 ++-- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) 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