This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,14 @@ if grep -q 'Ubuntu' < /etc/os-release; then
49
49
apt-get autoremove -y
50
50
elif grep -q ' Debian' < /etc/os-release; then
51
51
if grep -q ' stretch' < /etc/os-release; then
52
- echo ' deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/ Debian_9.0/ /' | tee /etc/apt/sources.list.d/shells:fish:release:3 .list
53
- curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3 /Debian_9.0/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish_release_3 .gpg > /dev/null
52
+ echo ' deb http://download.opensuse.org/repositories/shells:/fish/ Debian_9.0/ /' | tee /etc/apt/sources.list.d/shells:fish.list
53
+ curl -fsSL https://download.opensuse.org/repositories/shells:fish/Debian_9.0/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish .gpg > /dev/null
54
54
elif grep -q ' buster' < /etc/os-release; then
55
- echo ' deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_10/ /' | tee /etc/apt/sources.list.d/shells:fish:release:3.list
56
- curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_10/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null
55
+ echo ' deb http://download.opensuse.org/repositories/shells:/fish/Debian_10/ /' | tee /etc/apt/sources.list.d/shells:fish.list
56
+ curl -fsSL https://download.opensuse.org/repositories/shells:fish/Debian_10/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish.gpg > /dev/null
57
+ elif grep -q ' bullseye' < /etc/os-release; then
58
+ echo ' deb http://download.opensuse.org/repositories/shells:/fish/Debian_11/ /' | tee /etc/apt/sources.list.d/shells:fish.list
59
+ curl -fsSL https://download.opensuse.org/repositories/shells:fish/Debian_11/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish.gpg > /dev/null
57
60
fi
58
61
apt update
59
62
apt install -y fish
You can’t perform that action at this time.
0 commit comments