Fix gsl exec for help
This commit is contained in:
parent
0ade0059c6
commit
37554d982f
|
@ -26,15 +26,35 @@ case "$2" in
|
|||
esac
|
||||
}
|
||||
|
||||
# Get conf
|
||||
gsl__if_file "/etc/gsl/gsl.conf" source
|
||||
|
||||
case "$1" in
|
||||
help|--help|-h)
|
||||
clear
|
||||
case "$2" in
|
||||
"")
|
||||
gsl__if_file "$gsl_dir_helps/gsl_help" read
|
||||
;;
|
||||
new)
|
||||
gsl__if_file "$gsl_dir_helps/gsl_infos_new_website" read
|
||||
;;
|
||||
install)
|
||||
gsl__if_file "$gsl_dir_helps/gsl_help_install" read
|
||||
;;
|
||||
write|-w)
|
||||
gsl__if_file "$gsl_dir_helps/gsl_help_write_post" read
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
#=======================================================================
|
||||
# Checking Dependancies
|
||||
#=======================================================================
|
||||
# Get Tools
|
||||
gsl__if_file "/var/lib/gsl/scripts/gsl__tools" source
|
||||
|
||||
# Get conf
|
||||
gsl__if_file "/etc/gsl/gsl.conf" source
|
||||
|
||||
# Get Logs Manager
|
||||
gsl__if_file "$gsl_dir_scripts/gsl__log_manager" source
|
||||
|
||||
|
@ -257,22 +277,4 @@ case "$1" in
|
|||
clear
|
||||
gsl__if_file "/var/lib/gsl/README.md" read
|
||||
;;
|
||||
|
||||
help|--help|-h)
|
||||
clear
|
||||
case "$2" in
|
||||
"")
|
||||
gsl__if_file "$gsl_dir_helps/gsl_help" read
|
||||
;;
|
||||
new)
|
||||
gsl__if_file "$gsl_dir_helps/gsl_infos_new_website" read
|
||||
;;
|
||||
install)
|
||||
gsl__if_file "$gsl_dir_helps/gsl_help_install" read
|
||||
;;
|
||||
write|-w)
|
||||
gsl__if_file "$gsl_dir_helps/gsl_help_write_post" read
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue