aboutsummaryrefslogtreecommitdiff
path: root/stowpkg
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-18 16:12:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-18 16:12:20 -0300
commit1284b953e8bb17b259f69f07eeb20deb36db01f2 (patch)
treee76187b4965403a430011051afd3ed72883c9985 /stowpkg
parent64af5fc72e357fcb82bda05782b5b86628ce2774 (diff)
downloadstowpkg-1284b953e8bb17b259f69f07eeb20deb36db01f2.tar.gz
stowpkg-1284b953e8bb17b259f69f07eeb20deb36db01f2.tar.bz2
Misc updates
Diffstat (limited to 'stowpkg')
-rwxr-xr-xstowpkg5
1 files changed, 5 insertions, 0 deletions
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