Add podman

This commit is contained in:
RealStickman 2021-03-31 15:21:23 +02:00
parent deeb5b10b7
commit 930d2e2bb0
2 changed files with 17 additions and 4 deletions

View File

@ -175,10 +175,12 @@ done
in_doomemacs=0 in_doomemacs=0
#in_vscodium=0 #in_vscodium=0
in_podman=0
cmd=(dialog --separate-output --checklist "Code editors" 22 76 16) cmd=(dialog --separate-output --checklist "Devtools" 22 76 16)
options=(0 "doom-emacs" off options=(0 "doom-emacs" off
1 "vscodium" off) 1 "vscodium" off
10 "Podman" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear clear
for choice in $choices for choice in $choices
@ -194,6 +196,9 @@ do
#in_vscodium=1 #in_vscodium=1
echo "vscodium-bin" >> "$setupdir/aurselectedpkgs.txt" echo "vscodium-bin" >> "$setupdir/aurselectedpkgs.txt"
;; ;;
10)
in_podman=1
;;
esac esac
done done
@ -592,7 +597,7 @@ else
echo "Skipping auto-cpufreq" echo "Skipping auto-cpufreq"
fi fi
#text editors #devtools
if [ $in_doomemacs -eq 1 ]; then if [ $in_doomemacs -eq 1 ]; then
echo "Installing doom-emacs" echo "Installing doom-emacs"
paru -S --needed git emacs ripgrep fd pandoc shellcheck python-pipenv python-isort python-pytest python-rednose pychecker texlive-core paru -S --needed git emacs ripgrep fd pandoc shellcheck python-pipenv python-isort python-pytest python-rednose pychecker texlive-core
@ -612,6 +617,15 @@ else
fi fi
' '
if [ $in_podman -eq 1 ]; then
echo "Installing podman"
sudo pacman -S --needed podman
sudo touch /etc/subuid /etc/subgid
sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER"
else
echo "Skipping podman"
fi
: ' : '
#other social stuff #other social stuff
if [ $in_teams -eq 1 ]; then if [ $in_teams -eq 1 ]; then

View File

@ -35,4 +35,3 @@ corefreq-git
sysstat sysstat
intellij-idea-ultimate-edition intellij-idea-ultimate-edition
intellij-idea-ultimate-edition-jre intellij-idea-ultimate-edition-jre
podman