Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=d82fac256231dfb6e1ed14df07fb088bcf720b99

commit d82fac256231dfb6e1ed14df07fb088bcf720b99
Author: crazy <[email protected]>
Date:   Sun May 21 10:24:25 2017 +0200

wipe .version

diff --git a/scripts/updatesync b/scripts/updatesync
index d9d9181..76a5eb0 100755
--- a/scripts/updatesync
+++ b/scripts/updatesync
@@ -318,16 +318,7 @@ if [ "$action" = "upd" ]; then
i=$(($i+1))
done
fi
-       ver=""
-       rootdir=`dirname $option`
-       if ( cd $rootdir; git rev-parse --get-root &>/dev/null); then
-               ver=`cd $rootdir; git describe 2>/dev/null`
-       fi
-       if [ -n "$ver" ]; then
-               echo ${ver//-/.} > .version
-               tar --delete -f $udb .version 2>/dev/null
-               fakeroot tar rf $udb .version
-       fi
+
else
# DELETE
delete_entry $option
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to