mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
[fix] common file bug for restore & upgrade
This commit is contained in:
parent
6a7631aaaf
commit
3e78e6cc8c
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ set -eu
|
|||
if [ ! -e _common.sh ]; then
|
||||
# Get file fonction if not been to the current directory
|
||||
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
||||
sudo chmod a+rx _common
|
||||
sudo chmod a+rx _common.sh
|
||||
fi
|
||||
# Loads the generic functions usually used in the script
|
||||
source _common.sh
|
||||
|
|
|
@ -6,7 +6,7 @@ set -eu
|
|||
if [ ! -e _common.sh ]; then
|
||||
# Get file fonction if not been to the current directory
|
||||
sudo cp ../settings/scripts/_common.sh ./_common.sh
|
||||
sudo chmod a+rx _common
|
||||
sudo chmod a+rx _common.sh
|
||||
fi
|
||||
# Loads the generic functions usually used in the script
|
||||
source _common.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue