mirror of
https://github.com/YunoHost-Apps/minchat_ynh.git
synced 2024-09-03 19:36:29 +02:00
[fix] test generic function incorrect for restore/upgrade/remove
This commit is contained in:
parent
fc3fdc3f10
commit
801d9f51d5
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
# Exit on command errors and treat unset variables as an error
|
||||
set -u
|
||||
|
||||
if [ ! -e ._common ]; then
|
||||
if [ ! -e _common ]; then
|
||||
# Get file fonction if not been to the current directory
|
||||
sudo cp ../settings/scripts/_common ./_common
|
||||
sudo chmod a+rx _common
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# causes the shell to exit if any subcommand or pipeline returns a non-zero status
|
||||
set -eu
|
||||
|
||||
if [ ! -e ._common ]; then
|
||||
if [ ! -e _common ]; then
|
||||
# Get file fonction if not been to the current directory
|
||||
sudo cp ../settings/scripts/_common ./_common
|
||||
sudo chmod a+rx _common
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Exit on command errors and treat unset variables as an error
|
||||
set -eu
|
||||
|
||||
if [ ! -e ._common ]; then
|
||||
if [ ! -e _common ]; then
|
||||
# Get file fonction if not been to the current directory
|
||||
sudo cp ../settings/scripts/_common ./_common
|
||||
sudo chmod a+rx _common
|
||||
|
|
Loading…
Reference in a new issue