From 1284b953e8bb17b259f69f07eeb20deb36db01f2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 18 Sep 2017 16:12:20 -0300 Subject: Misc updates --- stowpkg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stowpkg') diff --git a/stowpkg b/stowpkg index a0feecd..8ddc166 100755 --- a/stowpkg +++ b/stowpkg @@ -160,6 +160,11 @@ stowpkg_install () { cd ${package}-${version} + if [ "$source_format" = "git" ]; then + git fetch --all + git checkout version + fi + # Build if [ -e "$location/rules" ]; then . $location/rules -- cgit v1.2.3