quick install updates

This commit is contained in:
Bjango
2018-03-31 09:04:36 +11:00
parent b5e64fcbf0
commit faeb15ebd0

View File

@@ -97,7 +97,7 @@ istat_pls() {
# Check if OS is supported or find what OS it is like and try that instead # Check if OS is supported or find what OS it is like and try that instead
case "$lsb_dist" in case "$lsb_dist" in
ubuntu|debian|raspbian|linuxmint|elementary|centos|fedora|freebsd|dragonfly|netbsd|solus|arch|opensuse|manjaro|slackware) ubuntu|debian|raspbian|linuxmint|elementary|centos|fedora|freebsd|dragonfly|netbsd|solus|arch|opensuse|manjaro|slackware|sabayon|gentoo)
;; ;;
*) *)
case "$lsb_dist_like" in case "$lsb_dist_like" in
@@ -158,6 +158,9 @@ istat_pls() {
slackware) slackware)
$sh_c "slackpkg -batch=on -default_answer=y install automake autoconf gcc-g++ curl lm_sensors > /dev/null || :" $sh_c "slackpkg -batch=on -default_answer=y install automake autoconf gcc-g++ curl lm_sensors > /dev/null || :"
;; ;;
sabayon|gentoo)
$sh_c "emerge --ask=n automake autoconf gcc curl > /dev/null || :"
;;
*) *)
echo "unsupported OS"; echo "unsupported OS";
exit 1 exit 1