aurupdater.sh

This commit is contained in:
simono41 2018-06-12 00:20:47 +02:00
parent 7f8381cdca
commit 5492be08da
2 changed files with 16 additions and 0 deletions

View file

@ -549,6 +549,8 @@ cp /opt/${repo}/x11vnc.pass /etc/x11vnc.pass
# aurinstaller # aurinstaller
cp /opt/${repo}/aurinstall.sh /usr/bin/aurinstaller cp /opt/${repo}/aurinstall.sh /usr/bin/aurinstaller
chmod +x /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 if [ "$version" != "pi" ]; then
su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git""

14
aurupdater.sh Executable file
View file

@ -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