1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

Merge pull request #37 from autra/master

Fix typo in mail
This commit is contained in:
ljf (zamentur) 2020-01-24 17:27:11 +01:00 committed by GitHub
commit 437d9abf63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 17 deletions

View file

@ -202,10 +202,6 @@ ynh_check_app_version_changed () {
echo $return_value echo $return_value
} }
ynh_remove_backports () {
rm -f /etc/apt/sources.list.d/$app-stretch-backports.list
}
ynh_debian_release () { ynh_debian_release () {
lsb_release --codename --short lsb_release --codename --short
} }

View file

@ -84,7 +84,7 @@ Public key: $(cat ${private_key}.pub)
Or if you want to use cli: Or if you want to use cli:
yunohost app install https://github.com/YunoHost-Apps/borg_server_ynh -a \"ssh_user=${ssh_user}&public_key=$(cat ${private_key}.pub)\" yunohost app install https://github.com/YunoHost-Apps/borgserver_ynh -a \"ssh_user=${ssh_user}&public_key=$(cat ${private_key}.pub)\"
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/borg_ynh" If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/borg_ynh"

View file

@ -20,11 +20,6 @@ app=$YNH_APP_INSTANCE_NAME
#================================================= #=================================================
ynh_remove_app_dependencies ynh_remove_app_dependencies
#=================================================
# REMOVE BACKPORTS IF EXISTS
#=================================================
ynh_remove_backports
#================================================= #=================================================
# REMOVE FILES # REMOVE FILES
#================================================= #=================================================

View file

@ -6,12 +6,7 @@
# IMPORT GENERIC HELPERS # IMPORT GENERIC HELPERS
#================================================= #=================================================
if [ ! -e _common.sh ]; then source ../settings/scripts/_common.sh
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================

View file

@ -42,7 +42,7 @@ fi
# Replace backports with pip # Replace backports with pip
if is_stretch; then if is_stretch; then
ynh_remove_backports rm -f /etc/apt/sources.list.d/$app-stretch-backports.list
install_borg_with_pip install_borg_with_pip
fi fi