mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Update linutil-installer.sh
This commit is contained in:
parent
e855935301
commit
3a63991e13
|
@ -26,10 +26,10 @@ installLinutil() {
|
|||
printf "%b\n" "${GREEN}Installed successfully.${RC}"
|
||||
;;
|
||||
zypper)
|
||||
printf "%b\n" "Detecting flavor..."
|
||||
flavor = [[zypper lr | grep -i "Tumbleweed"]] && echo "Tumbleweed" || echo "Slowroll"
|
||||
printf "\n" "Detecting flavor..."
|
||||
flavor = zypper lr | grep -i "Tumbleweed" && echo "Tumbleweed" || echo "Slowroll"
|
||||
printf "%b\n" " flavor detected is ${GREEN} ${flavor} ${RC}"
|
||||
printf "%b\n" "setting up repos..."
|
||||
printf "\n" "setting up repos..."
|
||||
if [$flavor == "Tumbleweed"]
|
||||
then
|
||||
"$ESCALATION_TOOL" "$PACKAGER" addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo
|
||||
|
|
Loading…
Reference in New Issue
Block a user