update for jammin jelly! (Ubuntu 22.04LTS)

This commit is contained in:
Stephen Card 2022-04-18 03:24:31 -04:00
parent 5337529a44
commit ff5444c5ca

View file

@ -13,7 +13,7 @@ function dpkg_url() {
# installing base dependencies # installing base dependencies
sudo apt-get -my install \ sudo apt-get -my install \
git \ git \
stow \ stow \
etckeeper \ etckeeper \
tmux \ tmux \
@ -23,15 +23,15 @@ sudo apt-get -my install \
mc \ mc \
curl \ curl \
aptitude \ aptitude \
nnn \ nnn \
ack \ ack \
fzf \ fzf \
ripgrep \ ripgrep \
grc \ grc \
fd-find \ fd-find \
ncdu \ ncdu \
tree \ tree \
neofetch neofetch
read -n1 -p $'Does this system need a ssh server?\n' REPLY read -n1 -p $'Does this system need a ssh server?\n' REPLY
if [[ $REPLY == [Yy] ]]; then if [[ $REPLY == [Yy] ]]; then
@ -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 \
dpkg_url https://github.com/sharkdp/bat/releases/download/v0.20.0/bat_0.20.0_amd64.deb bat \
sudo sed -i '/crates2/d' /var/lib/dpkg/info/bat.list duf
sudo rm -f /usr/.crates2.json 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
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