From: xf0r3m Date: Wed, 9 Aug 2023 09:45:19 +0000 (+0200) Subject: Usunięto uruchomienie polecenia neofetch z autostartu powłoki - skrypt startowe konte... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=1bfa76af9eea360389478412b9dcd26de0b92e3d;p=idle.git Usunięto uruchomienie polecenia neofetch z autostartu powłoki - skrypt startowe kontenerów --- diff --git a/alpine.sh b/alpine.sh index 04fe190..e6bee5c 100644 --- a/alpine.sh +++ b/alpine.sh @@ -5,6 +5,5 @@ adduser -s /bin/bash -D alpuser; 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 54ac4c6..8958d21 100644 --- a/archlinux.sh +++ b/archlinux.sh @@ -7,7 +7,5 @@ echo "root ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers; pacman -Syu --noconfirm; pacman -Sy --noconfirm neofetch; -echo "/usr/bin/neofetch" >> /home/archuser/.bashrc; - -pacman -Sy --noconfim man-db man-pages; +pacman -Sy --noconfirm man-db man-pages; mandb -c diff --git a/deb.sh b/deb.sh index a7d4dc6..6d4d352 100644 --- a/deb.sh +++ b/deb.sh @@ -18,7 +18,4 @@ if ! grep -q '^ID=ubuntu' /etc/os-release; then elif grep -q '^ID=linuxmint' /etc/os-release; then hostnamectl set-hostname linuxmint; fi - echo "/usr/bin/neofetch" >> /home/debuser/.bashrc; -else - echo "/usr/bin/neofetch" >> /home/ubuntu/.bashrc; fi diff --git a/fedora.sh b/fedora.sh index 05784a1..f4d47d5 100644 --- a/fedora.sh +++ b/fedora.sh @@ -8,6 +8,5 @@ dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/fedora/rpmfusion- dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm dnf update -y dnf install neofetch -y -echo "/usr/bin/neofetch" >> /home/rhuser/.bashrc; dnf install man-db man-pages -y mandb -c diff --git a/gentoo.sh b/gentoo.sh index 243ca33..776bf3e 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -6,6 +6,5 @@ echo "root ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers; 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 0392a2d..271d25f 100644 --- a/opensuse.sh +++ b/opensuse.sh @@ -9,7 +9,6 @@ if [ $? -eq 0 ]; then zypper update -y; zypper install -y neofetch; - echo "/usr/bin/neofetch" >> /home/suseuser/.bashrc; zypper install -y man man-pages mandb -c fi diff --git a/rocky.sh b/rocky.sh index 45dfe7f..595b5d1 100644 --- a/rocky.sh +++ b/rocky.sh @@ -14,6 +14,5 @@ sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm -y sudo dnf update -y sudo dnf install neofetch -y -echo "/usr/bin/neofetch" >> /home/rhuser/.bashrc; sudo dnf install man-db man-pages -y sudo mandb -c diff --git a/void.sh b/void.sh index 3e957e2..e8a37d6 100644 --- a/void.sh +++ b/void.sh @@ -7,6 +7,5 @@ echo "root ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers; xbps-install -Su -y; xbps-install -y neofetch; -echo "/usr/bin/neofetch" >> /home/voiduser/.bashrc; xbps-install man-db; mandb -c