commit 1c8f4edaac2feedf804bfcf342b06e3f54d496b0
parent a0238184b83c1acc2c47c45925a6bb2123cfe0e2
Author: Remy Noulin <loader2x@gmail.com>
Date: Wed, 4 Nov 2020 22:07:09 +0100
update for debian bullseye
debian/1-system.sh | 10 +++++-----
debian/3-home.sh | 28 ++++++++++++++--------------
2 files changed, 19 insertions(+), 19 deletions(-)
Diffstat:
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/debian/1-system.sh b/debian/1-system.sh
@@ -1,6 +1,6 @@
# setup apt sources for non-free pacakges
-sed -i 's/buster main/buster main contrib non-free/g' /etc/apt/sources.list
-sed -i 's/buster\/updates main/buster\/updates main contrib non-free/g' /etc/apt/sources.list
+sed -i 's/bullseye main/bullseye main contrib non-free/g' /etc/apt/sources.list
+sed -i 's/bullseye\/updates main/bullseye\/updates main contrib non-free/g' /etc/apt/sources.list
# easydoneit repo
echo 'deb http://spartatek.se/packages/ unstable/' >> /etc/apt/sources.list
@@ -9,7 +9,7 @@ echo 'deb http://spartatek.se/packages/ unstable/' >> /etc/apt/sources.list
apt-get update -y
apt-get upgrade -y
apt-get remove -y vim-tiny
-apt-get install -y sshguard net-tools curl wget tmux build-essential ruby tree apt-transport-https screen ranger mc vim-nox ncftp p7zip-full rtorrent pbzip2 atop htop glances tcc sshuttle finger cmatrix jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode python-nose python-nose2-cov python-nosexcover apt-file libpcre3-dev graphviz pandoc elinks w3m links nmap figlet zip lynx apt-src cowsay sl tig rdiff-backup imagemagick graphicsmagick llgal moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind doxygen fish gdb lcov python-pip slurm cloc python3-dev python3-pip silversearcher-ag ncdu mutt bmon lm-sensors cppcheck check clang toilet erlang mini-dinstall pinentry-curses exuberant-ctags mkdocs source-highlight highlight massif-visualizer valkyrie locate etckeeper autojump emacs-nox
+apt-get install -y sshguard net-tools curl wget tmux build-essential clang-10 clangd-10 clang-format-10 clang-tidy-10 clang-tools-10 ruby tree apt-transport-https screen ranger mc vim-nox ncftp p7zip-full rtorrent pbzip2 atop htop glances tcc sshuttle finger cmatrix jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode apt-file libpcre3-dev graphviz pandoc elinks w3m links nmap figlet zip lynx apt-src cowsay sl tig rdiff-backup imagemagick graphicsmagick llgal moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind doxygen fish gdb lcov slurm cloc python3-dev python3-pip silversearcher-ag ncdu mutt bmon lm-sensors cppcheck check clang toilet erlang mini-dinstall pinentry-curses exuberant-ctags mkdocs source-highlight highlight massif-visualizer locate etckeeper autojump emacs-nox
# vim
sed -i 's/"syntax on/syntax on/g' /etc/vim/vimrc
@@ -60,7 +60,7 @@ cd ..
# --allow-unauthenticated because sometimes the key doesnt get installed
export DEBIAN_FRONTEND=noninteractive ; \
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D ;\
- echo "deb https://apt.dockerproject.org/repo debian-buster main" > /etc/apt/sources.list.d/docker.list ;\
+ echo "deb https://apt.dockerproject.org/repo debian-bullseye main" > /etc/apt/sources.list.d/docker.list ;\
apt-get update -y -q;\
apt-get install --allow-unauthenticated -y -q docker-engine
@@ -86,7 +86,7 @@ ln -s $OFF git-off
cd -
# etckeeper
-# error in debian buster
+# error in debian bullseye
mkdir -p /etc/.git/hooks
etckeeper init
diff --git a/debian/3-home.sh b/debian/3-home.sh
@@ -23,20 +23,20 @@ sudo gpasswd -a $USER docker
# setup diff-so-fancy in gitconfig
## commented because it is in .gitconfig
- git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
- git config --global color.ui true
-
- git config --global color.diff-highlight.oldNormal "red bold"
- git config --global color.diff-highlight.oldHighlight "red bold 52"
- git config --global color.diff-highlight.newNormal "green bold"
- git config --global color.diff-highlight.newHighlight "green bold 22"
-
- git config --global color.diff.meta "227"
- git config --global color.diff.frag "magenta bold"
- git config --global color.diff.commit "227 bold"
- git config --global color.diff.old "red bold"
- git config --global color.diff.new "green bold"
- git config --global color.diff.whitespace "red reverse"
+git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
+git config --global color.ui true
+
+git config --global color.diff-highlight.oldNormal "red bold"
+git config --global color.diff-highlight.oldHighlight "red bold 52"
+git config --global color.diff-highlight.newNormal "green bold"
+git config --global color.diff-highlight.newHighlight "green bold 22"
+
+git config --global color.diff.meta "227"
+git config --global color.diff.frag "magenta bold"
+git config --global color.diff.commit "227 bold"
+git config --global color.diff.old "red bold"
+git config --global color.diff.new "green bold"
+git config --global color.diff.whitespace "red reverse"
git config --bool --global diff-so-fancy.markEmptyLines false
git config --bool --global diff-so-fancy.changeHunkIndicators false
git config --bool --global diff-so-fancy.stripLeadingSymbols false