From: xf0r3m Date: Tue, 8 Aug 2023 10:28:07 +0000 (+0200) Subject: Dodanie skryptów inicjujących poleceń odpowiedzialnych za instalację stron podręcznik... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=9615251ca54b69887242e674a5db86ff63ba12bb;p=idle.git Dodanie skryptów inicjujących poleceń odpowiedzialnych za instalację stron podręcznika oraz polecenia 'apropos' --- diff --git a/alpine.sh b/alpine.sh index a5f7291..04fe190 100644 --- a/alpine.sh +++ b/alpine.sh @@ -6,3 +6,5 @@ apk add sudo; echo "alpuser ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers; apk add neofetch; echo "/usr/bin/neofetch" >> /etc/bash/bashrc; +apk add man-db man-pages; +mandb -c diff --git a/archlinux.sh b/archlinux.sh index 8b4746e..54ac4c6 100644 --- a/archlinux.sh +++ b/archlinux.sh @@ -8,3 +8,6 @@ pacman -Syu --noconfirm; pacman -Sy --noconfirm neofetch; echo "/usr/bin/neofetch" >> /home/archuser/.bashrc; + +pacman -Sy --noconfim man-db man-pages; +mandb -c diff --git a/deb.sh b/deb.sh index 0ca5c26..a7d4dc6 100644 --- a/deb.sh +++ b/deb.sh @@ -3,6 +3,8 @@ dhclient; apt update; apt install neofetch -y; +apt install man-db -y; +mandb -c if ! grep -q '^ID=ubuntu' /etc/os-release; then useradd -m -s /bin/bash debuser; diff --git a/fedora.sh b/fedora.sh index d54c938..3c91854 100644 --- a/fedora.sh +++ b/fedora.sh @@ -8,3 +8,5 @@ sudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/fedora/rp sudo dnf update sudo dnf install neofetch -y echo "/usr/bin/neofetch" >> /home/rhuser/.bashrc; +sudo dnf install man-db man-pages +sudo mandb -c diff --git a/gentoo.sh b/gentoo.sh index a8d7c85..243ca33 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -4,7 +4,8 @@ useradd -m -s /bin/bash gentoouser; echo "gentoouser ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers; echo "root ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers; -ego sync; emerge neofetch; echo "/usr/bin/neofetch" >> /home/gentoouser/.bashrc; +emerge man-db man-pages; +mandb -c; diff --git a/opensuse.sh b/opensuse.sh index 828ebfe..56d84e1 100644 --- a/opensuse.sh +++ b/opensuse.sh @@ -10,4 +10,6 @@ if [ $? -eq 0 ]; then zypper install -y neofetch; echo "/usr/bin/neofetch" >> /home/suseuser/.bashrc; + zypper install man man-pages + mandb -c fi diff --git a/void.sh b/void.sh index cc18067..3e957e2 100644 --- a/void.sh +++ b/void.sh @@ -8,3 +8,5 @@ xbps-install -Su -y; xbps-install -y neofetch; echo "/usr/bin/neofetch" >> /home/voiduser/.bashrc; +xbps-install man-db; +mandb -c