refill-aur.sh

This commit is contained in:
simono41 2018-08-07 08:59:10 +02:00
parent 43dfde4256
commit 7edec93f80

19
refill-aur.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
set -ex
fill="$(pacman -Qqm)"
while (( "$(expr $#)" ))
do
for wort in ${fill}
do
if grep ${wort} $1; then
grep -v ${wort} $1 > tempdatei
mv tempdatei $1
else
echo "überspringe ${wort}"
fi
done
shift
done