refill-aur.sh
This commit is contained in:
parent
43dfde4256
commit
7edec93f80
1 changed files with 19 additions and 0 deletions
19
refill-aur.sh
Executable file
19
refill-aur.sh
Executable 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
|
Loading…
Reference in a new issue