mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
fixes
This commit is contained in:
parent
3a63991e13
commit
0d23986c8d
|
@ -27,17 +27,17 @@ installLinutil() {
|
||||||
;;
|
;;
|
||||||
zypper)
|
zypper)
|
||||||
printf "\n" "Detecting flavor..."
|
printf "\n" "Detecting flavor..."
|
||||||
flavor = zypper lr | grep -i "Tumbleweed" && echo "Tumbleweed" || echo "Slowroll"
|
[ zypper lr | grep -i "Tumbleweed" ] && flavor="Tumbleweed" || flavor="Slowroll"
|
||||||
printf "%b\n" " flavor detected is ${GREEN} ${flavor} ${RC}"
|
printf "%b\n" " flavor detected is ${GREEN} ${flavor} ${RC}"
|
||||||
printf "\n" "setting up repos..."
|
printf "\n" "setting up repos..."
|
||||||
if [$flavor == "Tumbleweed"]
|
if [ $flavor == "Tumbleweed" ]
|
||||||
then
|
then
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo
|
"$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [$flavor == "Slowroll"]
|
if [ $flavor == "Slowroll" ]
|
||||||
then
|
then
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo
|
"$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "%b\n" "refreshing and installing"
|
printf "%b\n" "refreshing and installing"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user