YunoHost-Apps / monica_ynh

Monica package for YunoHost
https://www.monicahq.com/
GNU Affero General Public License v3.0
18 stars 13 forks source link

Warnings while restoring #11

Closed anmol26s closed 6 years ago

anmol26s commented 7 years ago

There are few warnings while restoring the app:

Extracting needed files from the archive...
Running restore script of app 'monica'...
Executing script '/tmp/restorexQuMMJ/restore'...
+ ynh_abort_if_errors
+ yunohost app checkurl '' -a ''
Warning: /tmp/restorexQuMMJ/restore: line 10: ynh_abort_if_errors: command not found
Warning: 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: Unknown domain
+ ynh_die 'Path not available: '
Warning: /tmp/restorexQuMMJ/restore: line 17: ynh_die: command not found
+ test '!' -d
+ ynh_die 'There is already a directory:  '
Warning: /tmp/restorexQuMMJ/restore: line 19: ynh_die: command not found
+ '[' '!' -e _common.sh ']'
+ source _common.sh
++ n_install_dir=/opt/node_n
rndmh3ro commented 7 years ago

I'll have to take a look here. The helpers should still be there: https://github.com/YunoHost/yunohost/blob/stable/data/helpers.d/print

anmol26s commented 6 years ago

Fixed