update for jammin jelly! (Ubuntu 22.04LTS)
This commit is contained in:
parent
5337529a44
commit
ff5444c5ca
1 changed files with 27 additions and 18 deletions
23
udeps.sh
23
udeps.sh
|
@ -43,16 +43,25 @@ read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
|
||||||
else
|
else
|
||||||
sudo apt-get install emacs-nox
|
sudo apt-get install emacs-nox
|
||||||
fi
|
fi
|
||||||
#Fix stupid Rust issue
|
|
||||||
if [ -f "/usr/.crates2.json" ]; then
|
release=`lsb_release -cs`
|
||||||
sudo sed -i '/crates2/d' /var/lib/dpkg/info/ripgrep.list
|
if [[ $release == jammy ]]; then
|
||||||
sudo rm -f /usr/.crates2.json
|
sudo apt install \
|
||||||
|
bat \
|
||||||
|
duf
|
||||||
|
else
|
||||||
|
dpkg_url https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb
|
||||||
dpkg_url https://github.com/sharkdp/bat/releases/download/v0.20.0/bat_0.20.0_amd64.deb
|
dpkg_url https://github.com/sharkdp/bat/releases/download/v0.20.0/bat_0.20.0_amd64.deb
|
||||||
sudo sed -i '/crates2/d' /var/lib/dpkg/info/bat.list
|
|
||||||
sudo rm -f /usr/.crates2.json
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#Fix stupid Rust issue
|
||||||
|
# if [ -f "/usr/.crates2.json" ]; then
|
||||||
|
# sudo sed -i '/crates2/d' /var/lib/dpkg/info/ripgrep.list
|
||||||
|
# sudo rm -f /usr/.crates2.json
|
||||||
|
# sudo sed -i '/crates2/d' /var/lib/dpkg/info/bat.list
|
||||||
|
# sudo rm -f /usr/.crates2.json
|
||||||
|
# fi
|
||||||
|
|
||||||
#This section installs software outside apt
|
#This section installs software outside apt
|
||||||
dpkg_url https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb
|
|
||||||
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.6.8/bottom_0.6.8_amd64.deb
|
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.6.8/bottom_0.6.8_amd64.deb
|
||||||
dpkg_url https://github.com/dandavison/delta/releases/download/0.12.1/git-delta_0.12.1_amd64.deb
|
dpkg_url https://github.com/dandavison/delta/releases/download/0.12.1/git-delta_0.12.1_amd64.deb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue