contrib/rpm: print dnf-install command at the end of build.sh
authorThomas Haller <thaller@redhat.com>
Fri, 26 Feb 2016 13:26:56 +0000 (14:26 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 26 Feb 2016 13:36:49 +0000 (14:36 +0100)
contrib/fedora/rpm/build.sh

index c2f5136..373ef55 100755 (executable)
@@ -138,5 +138,7 @@ LOG "See \"$TEMP_LATEST/\" which symlinks to \"$TEMPBASE\""
 LOG
 LOG "Result:"
 ls -dla "$TEMP_LATEST" "$(dirname "$TEMP_LATEST")/$TEMPBASE/" "$TEMP_LATEST"/RPMS/*/ "$TEMP_LATEST"/RPMS/*/*.rpm "$TEMP_LATEST"/SRPMS/ "$TEMP_LATEST"/SRPMS/*.rpm 2>/dev/null | sed 's/^/    /'
-
+LOG
+LOG "sudo $(which dnf &>/dev/null && echo dnf || echo yum) install '$TEMP_LATEST/RPMS'/*/*.rpm"
+LOG