Skip to content

Commit

Permalink
fix snap cannot test in docker issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CollieIsCute committed Feb 19, 2025
1 parent bfab774 commit cb7b80f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
8 changes: 2 additions & 6 deletions home/.chezmoidata/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,11 @@ packages:
- "htop"
- "ibus-chewing"
- "neofetch"
- "neovim"
- "silversearcher-ag"
- "ssh"
- "telegram"
- "tig"
- "tree"
- "tmux"
- "wget"
snap:
- "discord"
- "nvim --classic"
- "telegram-desktop"
- "marksman"

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export NC='\033[0m'
echo -e "${GREEN}paru installed successfully!${NC}"
{{ else if eq $osid "ubuntu" }}
echo -e "${GREEN}Setting up configurations for Ubuntu...${NC}"
sudo snap refresh && sudo apt update && sudo apt upgrade -y
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo add-apt-repository ppa:atareao/telegram
sudo apt update && sudo apt upgrade -y
{{ else }}
echo "Unsupported OS: {{ $osid }}"
exit 1
Expand Down
4 changes: 0 additions & 4 deletions home/.chezmoiscripts/run_onchange_install-packages.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ retry() {
{{ if .packages.ubuntu.apt }}
retry sudo apt install -y {{ range .packages.ubuntu.apt }}{{ . }} {{ end }}
{{ end }}
{{ if .packages.ubuntu.snap }}
echo -e "${GREEN}Installing Snap packages...${NC}"
retry sudo snap install {{ range .packages.ubuntu.snap }}{{ . }} {{ end }}
{{ end }}
{{ else }}
echo "Unsupported OS: {{ $osid }}"
exit 1
Expand Down

0 comments on commit cb7b80f

Please sign in to comment.