YunoHost / package_check

Shell script which check package actions: install, remove, upgrade, backup, restore…
GNU General Public License v3.0
21 stars 26 forks source link

Error in shell script using `-i` #16

Closed JocelynDelalande closed 7 years ago

JocelynDelalande commented 7 years ago

Another shell error, when I use -i (does not seem to prevent the feature from working ):

> To access the container:
To execute one command:
sudo lxc-attach -n pchecker_lxc -- command
To establish a ssh connection:
cat: /home/jocelyn/dev/ynh-pkg-check/setup_user: Aucun fichier ou dossier de ce type
/home/jocelyn/dev/ynh-pkg-check/sub_scripts/launcher.sh: ligne 303 : [: = : opérateur unaire attendu
maniackcrudelis commented 7 years ago

Yes you're right, it's a bug ;) Fixed here https://github.com/YunoHost/package_check/commit/4007177ea5a48f9aa07dbd6430850314a204765e