This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ echo "Installing fish shell..."
65
65
if grep -q ' Ubuntu' < /etc/os-release; then
66
66
check_packages software-properties-common
67
67
apt-add-repository -y ppa:fish-shell/release-3
68
- check_packages fish
68
+ apt-get update
69
+ apt-get -y install --no-install-recommends fish
69
70
elif grep -q ' Debian' < /etc/os-release; then
70
71
if grep -q ' stretch' < /etc/os-release; then
71
72
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
@@ -77,8 +78,10 @@ elif grep -q 'Debian' < /etc/os-release; then
77
78
echo ' deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_11/ /' | tee /etc/apt/sources.list.d/shells:fish:release:3.list
78
79
curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_11/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null
79
80
fi
80
- check_packages fish
81
+ apt-get update
82
+ apt-get -y install --no-install-recommends fish
81
83
fi
84
+ fish -v
82
85
83
86
# Install Fisher
84
87
if [ " ${INSTALL_FISHER} " = " true" ]; then
@@ -87,6 +90,7 @@ if [ "${INSTALL_FISHER}" = "true" ]; then
87
90
if [ " ${USERNAME} " != " root" ]; then
88
91
sudo -u $USERNAME fish -c ' curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher'
89
92
fi
93
+ fish -c " fisher -v"
90
94
fi
91
95
92
96
echo " Done!"
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ if [ "${DISTRO}" = "debian" ]; then
109
109
run_script python " 3.10 /opt/python /opt/python-tools ${USERNAME} false false"
110
110
run_script awscli
111
111
run_script azcli
112
- # run_script fish "false ${USERNAME}"
112
+ run_script fish " false ${USERNAME} "
113
113
run_script git-from-src " latest true"
114
114
run_script git-lfs " " " 2.13.3"
115
115
run_script github
You can’t perform that action at this time.
0 commit comments