force subscription on ubuntu even if fish already installed
This commit is contained in:
parent
a2a322edfc
commit
bc621e4e17
@ -41,7 +41,6 @@ $Green##########################################################################
|
|||||||
## Install base packages ##
|
## Install base packages ##
|
||||||
## ##
|
## ##
|
||||||
###############################################################################$NC"
|
###############################################################################$NC"
|
||||||
sleep 3
|
|
||||||
|
|
||||||
{{ if eq .chezmoi.os "darwin" -}}
|
{{ if eq .chezmoi.os "darwin" -}}
|
||||||
brew install -q $BASE_PACKAGES python
|
brew install -q $BASE_PACKAGES python
|
||||||
@ -80,8 +79,6 @@ fi
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
{{ if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
{{ if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||||
if ! type fish &> /dev/null
|
|
||||||
then
|
|
||||||
echo -e "
|
echo -e "
|
||||||
|
|
||||||
|
|
||||||
@ -90,7 +87,6 @@ $Green##########################################################################
|
|||||||
## Subscribe to Fish shell repositories in ubuntu/debian ##
|
## Subscribe to Fish shell repositories in ubuntu/debian ##
|
||||||
## ##
|
## ##
|
||||||
################################################################################$NC"
|
################################################################################$NC"
|
||||||
sleep 3
|
|
||||||
|
|
||||||
|
|
||||||
{{ if eq .chezmoi.osRelease.id "debian" -}}
|
{{ if eq .chezmoi.osRelease.id "debian" -}}
|
||||||
@ -103,8 +99,7 @@ sleep 3
|
|||||||
## Setup fish repo in ubuntu
|
## Setup fish repo in ubuntu
|
||||||
sudo apt-add-repository ppa:fish-shell/release-3 -y
|
sudo apt-add-repository ppa:fish-shell/release-3 -y
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
fi
|
sudo apt-get update
|
||||||
sudo apt update
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user