force subscription on ubuntu even if fish already installed

This commit is contained in:
Anton Volnuhin 2023-05-31 06:17:26 +03:00
parent a2a322edfc
commit bc621e4e17

View File

@ -41,7 +41,6 @@ $Green##########################################################################
## Install base packages ##
## ##
###############################################################################$NC"
sleep 3
{{ if eq .chezmoi.os "darwin" -}}
brew install -q $BASE_PACKAGES python
@ -80,8 +79,6 @@ fi
################################################################################
{{ if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
if ! type fish &> /dev/null
then
echo -e "
@ -90,7 +87,6 @@ $Green##########################################################################
## Subscribe to Fish shell repositories in ubuntu/debian ##
## ##
################################################################################$NC"
sleep 3
{{ if eq .chezmoi.osRelease.id "debian" -}}
@ -103,8 +99,7 @@ sleep 3
## Setup fish repo in ubuntu
sudo apt-add-repository ppa:fish-shell/release-3 -y
{{ end -}}
fi
sudo apt update
sudo apt-get update
{{ end -}}
{{ end -}}