mps-tarihce.guncellendi

This commit is contained in:
milisman 2016-06-02 04:56:21 +03:00
parent 0669221432
commit db3b34b56e
1 changed files with 3 additions and 3 deletions

View File

@ -544,9 +544,9 @@ tarihce_yukle(){
bsdtar -p -o -C /tmp -xf $TARIHCE_DIZIN/"$1-pkvt.tar.lz" 2>/dev/null bsdtar -p -o -C /tmp -xf $TARIHCE_DIZIN/"$1-pkvt.tar.lz" 2>/dev/null
ls /tmp/var/lib/pkg/DB/ > hedef.pkvt ls /tmp/var/lib/pkg/DB/ > hedef.pkvt
ls /var/lib/pkg/DB/ > simdiki.pkvt ls /var/lib/pkg/DB/ > simdiki.pkvt
grep -vf hedef.pkvt simdiki.pkvt > sil.liste grep -v -F -x -f hedef.pkvt simdiki.pkvt > sil.liste
grep -vf simdiki.pkvt hedef.pkvt > kur.liste grep -v -F -x -f simdiki.pkvt hedef.pkvt > kur.liste
rm hedef.pkvt simdiki.pkvt #rm hedef.pkvt simdiki.pkvt
rm -r /tmp/var rm -r /tmp/var
cikis="" cikis=""
if [ -s sil.liste ];then if [ -s sil.liste ];then