1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh.git synced 2024-09-03 20:26:26 +02:00

English translation and typo

This commit is contained in:
Maniack Crudelis 2019-01-18 23:50:25 +01:00
parent f57f16c10a
commit 7ce14db308
3 changed files with 8 additions and 8 deletions

View file

@ -21,7 +21,7 @@ ynh_abort_if_errors
#================================================= #=================================================
ssh_user=$YNH_APP_ARG_SSH_USER ssh_user=$YNH_APP_ARG_SSH_USER
# Default value null # Default value is null
ynh_print_OFF; password=${YNH_APP_ARG_PASSWORD:-}; ynh_print_ON ynh_print_OFF; password=${YNH_APP_ARG_PASSWORD:-}; ynh_print_ON
pub_key=${YNH_APP_ARG_PUB_KEY:-} pub_key=${YNH_APP_ARG_PUB_KEY:-}
size=$YNH_APP_ARG_SIZE size=$YNH_APP_ARG_SIZE
@ -78,14 +78,14 @@ ynh_setup_source "$final_path"
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP
#================================================= #=================================================
# SOURCE THE LIBRARIES # SOURCE LIBRARIES
#================================================= #=================================================
# Load functions quotas_xxx # Load functions quotas_xxx
source "$final_path/unix_quotas/unix_quotas.sh" source "$final_path/unix_quotas/unix_quotas.sh"
#================================================= #=================================================
# CREATE THE DIRECTORY FOR THIS USER # CREATE DIRECTORY FOR THIS USER
#================================================= #=================================================
user_dir="/home/yunohost.app/ssh_chroot_directories/$ssh_user" user_dir="/home/yunohost.app/ssh_chroot_directories/$ssh_user"
@ -173,6 +173,6 @@ fi
message="A new chrooted directory has been created. To use it, connect to 'ssh $ssh_user@$domain -p $ssh_port' via a terminal or by using an sftp connection with 'sftp://$ssh_user@$domain:$ssh_port/data' message="A new chrooted directory has been created. To use it, connect to 'ssh $ssh_user@$domain -p $ssh_port' via a terminal or by using an sftp connection with 'sftp://$ssh_user@$domain:$ssh_port/data'
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh" If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh"
ynh_send_readme_to_admin --app_message="$message" --recipients="root" ynh_send_readme_to_admin --app_message="$message" --recipients="root"

View file

@ -21,7 +21,7 @@ final_path=$(ynh_app_setting_get $app final_path)
#================================================= #=================================================
# SPECIFIC REMOVE # SPECIFIC REMOVE
#================================================= #=================================================
# SOURCE THE LIBRARIES # SOURCE LIBRARIES
#================================================= #=================================================
# Load functions quotas_xxx # Load functions quotas_xxx
@ -60,4 +60,4 @@ ynh_secure_remove "$final_path"
#================================================= #=================================================
ynh_print_info " ynh_print_info "
The directory /home/yunohost.app/ssh_chroot_directories has been not removed." >&2 The directory /home/yunohost.app/ssh_chroot_directories hasn't been removed." >&2

View file

@ -46,7 +46,7 @@ fi
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================
# SOURCE THE LIBRARIES # SOURCE LIBRARIES
#================================================= #=================================================
# Load functions ssh_chroot_xxx # Load functions ssh_chroot_xxx
@ -81,5 +81,5 @@ ln -sf $final_path/chroot_manager.sh /home/yunohost.app/ssh_chroot_directories/c
# SECURE FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
#================================================= #=================================================
# Set right permissions for curl installation # Set permissions to app files
chown -R root: $final_path chown -R root: $final_path