[rkward] macports: added a reclaim call to the source bundling as well

m.eik michalke null at kde.org
Mon Apr 2 13:49:04 UTC 2018


Git commit 9b191eda710b6e197e017c17c0ee63f8c31cba72 by m.eik michalke.
Committed on 02/04/2018 at 13:48.
Pushed by meikm into branch 'master'.

added a reclaim call to the source bundling as well

M  +3    -1    macports/update_bundle.sh

https://commits.kde.org/rkward/9b191eda710b6e197e017c17c0ee63f8c31cba72

diff --git a/macports/update_bundle.sh b/macports/update_bundle.sh
index 7da2b5b0..f39c1959 100755
--- a/macports/update_bundle.sh
+++ b/macports/update_bundle.sh
@@ -482,7 +482,7 @@ if $UPMPORTS ; then
   sudo "${MPTINST}/bin/port" clean inactive
   echo -e "sudo ${TXT_BLUE}${MPTINST}/bin/port${OFF} -f uninstall inactive"
   sudo "${MPTINST}/bin/port" -f uninstall inactive
-  echo -e "sudo ${TXT_BLUE}${MPTINST}/bin/port${OFF} reclaim"
+  echo -e "sudo ${TXT_BLUE}${MPTINST}/bin/port${OFF} reclaim ${TXT_DGRAY}# remove unused distfiles${OFF}"
   sudo "${MPTINST}/bin/port" reclaim
   alldone
 fi
@@ -669,6 +669,8 @@ fi
 
 # archive sources
 if $MKSRCTAR ; then
+  echo -e "sudo ${TXT_BLUE}${MPTINST}/bin/port${OFF} reclaim ${TXT_DGRAY}# remove unused distfiles${OFF}"
+  sudo "${MPTINST}/bin/port" reclaim
   if ! $COPYMDMD ; then
     # get version information of installed ports
     PORTVERS=$("${MPTINST}/bin/port" list ${PTARGET} | sed -e "s/.*@//;s/[[:space:]].*//")



More information about the rkward-tracker mailing list