From 5492be08da7ff0bd81f3f5a9f697f5a23541d02d Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 12 Jun 2018 00:20:47 +0200 Subject: [PATCH] aurupdater.sh --- arch-graphical-install-auto | 2 ++ aurupdater.sh | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 aurupdater.sh diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 1cba5cb..d1ce52a 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -549,6 +549,8 @@ cp /opt/${repo}/x11vnc.pass /etc/x11vnc.pass # aurinstaller cp /opt/${repo}/aurinstall.sh /usr/bin/aurinstaller chmod +x /usr/bin/aurinstaller +cp /opt/${repo}/aurupdater.sh /usr/bin/aurupdater +chmod +x /usr/bin/aurupdater if [ "$version" != "pi" ]; then su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git"" diff --git a/aurupdater.sh b/aurupdater.sh new file mode 100755 index 0000000..88dc930 --- /dev/null +++ b/aurupdater.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -x + +username="user1" + +echo "Durchsuche auf neue Packete indem fremde Packete angezeigt werden!!!" + +# for-schleife +for wort in $(pacman -Qmq) + do + echo "$wort" + su "$username" -c "/usr/bin/aurinstaller ${wort}" +done