]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Dodanie skryptów inicjujących poleceń odpowiedzialnych za instalację stron podręcznik...
authorxf0r3m <jakubstasinski@protonmail.com>
Tue, 8 Aug 2023 10:28:07 +0000 (12:28 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Tue, 8 Aug 2023 10:28:07 +0000 (12:28 +0200)
alpine.sh
archlinux.sh
deb.sh
fedora.sh
gentoo.sh
opensuse.sh
void.sh

index a5f72918e5cba3d6565d1a17889df8b278ad3800..04fe1902040361e400d27c80abe3326cc1c880de 100644 (file)
--- 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
index 8b4746ea93e1f80d2ba4836c6e2c2dc2026d741d..54ac4c6ec98aeaf81480c54cbc1ed23775e3b41a 100644 (file)
@@ -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 0ca5c2662dcbc83a2881d74fc3bf454b623fa6b4..a7d4dc6e54e4304c0191aae4a46152c2eb350252 100644 (file)
--- 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;
index d54c93803d34c51dd4cbf2676acfdba76c4893ee..3c918542957fba85698b58bdfec3319418167e80 100644 (file)
--- 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
index a8d7c85518612699709a276e33a78b157ba8ce73..243ca33d641e7b0b85d796fbfe4076f99905db60 100644 (file)
--- 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;
index 828ebfe4d622fb3de67ae919fc046970b28b9e2e..56d84e1474b1c0f3fc5fc2e377692687a33ee6c9 100644 (file)
@@ -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 cc180679afcfb1be637817f9270b23aa15fd14e5..3e957e2751e72e4d38641103ae83e40bc394a178 100644 (file)
--- 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