mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
Remove redundant functionality (#520)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
parent
c38f6fe0f5
commit
2755c0dfbf
|
@ -43,28 +43,7 @@ installDepend() {
|
|||
esac
|
||||
}
|
||||
|
||||
install_additional_dependencies() {
|
||||
case $(command -v apt || command -v zypper || command -v dnf || command -v pacman) in
|
||||
*apt)
|
||||
# Add additional dependencies for apt if needed
|
||||
;;
|
||||
*zypper)
|
||||
# Add additional dependencies for zypper if needed
|
||||
;;
|
||||
*dnf)
|
||||
# Add additional dependencies for dnf if needed
|
||||
;;
|
||||
*pacman)
|
||||
# Add additional dependencies for pacman if needed
|
||||
;;
|
||||
*)
|
||||
# Add additional dependencies for other package managers if needed
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
checkEnv
|
||||
checkAURHelper
|
||||
checkEscalationTool
|
||||
installDepend
|
||||
install_additional_dependencies
|
||||
installDepend
|
Loading…
Reference in New Issue
Block a user