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
9215033b83
commit
54f7e462ec
|
@ -27,10 +27,10 @@ installLinutil() {
|
|||
;;
|
||||
zypper)
|
||||
printf '%s\n' 'detecting flavor'
|
||||
[ zypper lr | grep -i "Tumbleweed" ] && flavor="Tumbleweed" || flavor="Slowroll"
|
||||
[ zypper lr | grep -q "Tumbleweed" ] && flavor="Tumbleweed" || flavor="Slowroll"
|
||||
printf '%b%s%b\n' "flavor detected is ${GREEN}" "$flavor" "$RC"
|
||||
printf "\n" "setting up repos..."
|
||||
if [ $flavor == "Tumbleweed" ]
|
||||
printf "\n" "setting up repos"
|
||||
if [[ $flavor == Tumbleweed ]]
|
||||
then
|
||||
"$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user