SpectreOS-old/refill-aur.sh

20 lines
294 B
Bash
Raw Permalink Normal View History

2018-08-07 08:59:10 +02:00
#!/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