]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Dodano opcje '-y' potwierdzającą wykonanie czynności.
authorxf0r3m <jakubstasinski@protonmail.com>
Tue, 8 Aug 2023 16:27:00 +0000 (18:27 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Tue, 8 Aug 2023 16:27:00 +0000 (18:27 +0200)
fedora.sh
opensuse.sh

index 3c918542957fba85698b58bdfec3319418167e80..0030960855ada088a0e9d211b0a33aa52b22f752 100644 (file)
--- a/fedora.sh
+++ b/fedora.sh
@@ -2,11 +2,11 @@
 useradd -m -s /bin/bash rhuser
 echo "rhuser ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
 echo "root ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers;
-sudo dnf update
+sudo dnf update -y
 sudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm
 sudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm
-sudo dnf update
+sudo dnf update -y
 sudo dnf install neofetch -y
 echo "/usr/bin/neofetch" >> /home/rhuser/.bashrc;
-sudo dnf install man-db man-pages
+sudo dnf install man-db man-pages -y
 sudo mandb -c
index 56d84e1474b1c0f3fc5fc2e377692687a33ee6c9..0392a2d324f6994fb1c996411b5819dbddfc54ef 100644 (file)
@@ -10,6 +10,6 @@ if [ $? -eq 0 ]; then
   zypper install -y neofetch;
 
   echo "/usr/bin/neofetch" >> /home/suseuser/.bashrc;
-  zypper install man man-pages
+  zypper install -y man man-pages
   mandb -c
 fi