mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-21 23:03:35 +05:00
Better dependency check
This commit is contained in:
7
kiauh.sh
7
kiauh.sh
@@ -27,9 +27,6 @@ get_date(){
|
||||
current_date=`date +"%Y-%m-%d_%H%M%S"`
|
||||
}
|
||||
|
||||
### sourcing all additional scripts
|
||||
for script in ${HOME}/kiauh/scripts/*; do . $script; done
|
||||
|
||||
### set important directories
|
||||
#klipper
|
||||
KLIPPER_DIR=${HOME}/klipper
|
||||
@@ -432,5 +429,9 @@ backup_menu(){
|
||||
backup_menu
|
||||
}
|
||||
|
||||
### sourcing all additional scripts
|
||||
SRCDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )"
|
||||
for script in ${SRCDIR}/kiauh/scripts/*; do . $script; done
|
||||
|
||||
check_euid
|
||||
main_menu
|
||||
Reference in New Issue
Block a user