aurupdater.sh
This commit is contained in:
parent
7f8381cdca
commit
5492be08da
2 changed files with 16 additions and 0 deletions
|
@ -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
14
aurupdater.sh
Executable 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
|
Loading…
Reference in a new issue