forked from Shinonome/dots-hyprland
Improve print_os_group_id_functions location
This commit is contained in:
@@ -63,12 +63,12 @@ esac
|
|||||||
if [[ -f "${SUBCMD_DIR}/options.sh" ]];
|
if [[ -f "${SUBCMD_DIR}/options.sh" ]];
|
||||||
then source "${SUBCMD_DIR}/options.sh"
|
then source "${SUBCMD_DIR}/options.sh"
|
||||||
fi
|
fi
|
||||||
for function in ${print_os_group_id_functions[@]}; do
|
|
||||||
$function
|
|
||||||
done
|
|
||||||
pause
|
|
||||||
case ${SUBCMD_NAME} in
|
case ${SUBCMD_NAME} in
|
||||||
install)
|
install)
|
||||||
|
for function in ${print_os_group_id_functions[@]}; do
|
||||||
|
$function
|
||||||
|
done
|
||||||
|
pause
|
||||||
if [[ "${SKIP_ALLGREETING}" != true ]]; then
|
if [[ "${SKIP_ALLGREETING}" != true ]]; then
|
||||||
source ${SUBCMD_DIR}/0.greeting.sh
|
source ${SUBCMD_DIR}/0.greeting.sh
|
||||||
fi
|
fi
|
||||||
@@ -83,16 +83,28 @@ case ${SUBCMD_NAME} in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
install-deps)
|
install-deps)
|
||||||
|
for function in ${print_os_group_id_functions[@]}; do
|
||||||
|
$function
|
||||||
|
done
|
||||||
|
pause
|
||||||
if [[ "${SKIP_ALLDEPS}" != true ]]; then
|
if [[ "${SKIP_ALLDEPS}" != true ]]; then
|
||||||
source ${SUBCMD_DIR}/1.deps-router.sh
|
source ${SUBCMD_DIR}/1.deps-router.sh
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
install-setups)
|
install-setups)
|
||||||
|
for function in ${print_os_group_id_functions[@]}; do
|
||||||
|
$function
|
||||||
|
done
|
||||||
|
pause
|
||||||
if [[ "${SKIP_ALLSETUPS}" != true ]]; then
|
if [[ "${SKIP_ALLSETUPS}" != true ]]; then
|
||||||
source ${SUBCMD_DIR}/2.setups.sh
|
source ${SUBCMD_DIR}/2.setups.sh
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
install-files)
|
install-files)
|
||||||
|
for function in ${print_os_group_id_functions[@]}; do
|
||||||
|
$function
|
||||||
|
done
|
||||||
|
pause
|
||||||
if [[ "${SKIP_ALLFILES}" != true ]]; then
|
if [[ "${SKIP_ALLFILES}" != true ]]; then
|
||||||
source ${SUBCMD_DIR}/3.files.sh
|
source ${SUBCMD_DIR}/3.files.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user