pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/sysupgrade sysupgrade: rm *${arch_ext} as wel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fae784aa9e3d
branches:  trunk
changeset: 440633:fae784aa9e3d
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Oct 14 09:50:49 2020 +0000

description:
sysupgrade: rm *${arch_ext} as well as *gz, not in place of.

PKGREVISION++

diffstat:

 sysutils/sysupgrade/Makefile                    |  4 ++--
 sysutils/sysupgrade/distinfo                    |  4 ++--
 sysutils/sysupgrade/patches/patch-sysupgrade.sh |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (55 lines):

diff -r bf4936cfe14c -r fae784aa9e3d sysutils/sysupgrade/Makefile
--- a/sysutils/sysupgrade/Makefile      Wed Oct 14 08:23:49 2020 +0000
+++ b/sysutils/sysupgrade/Makefile      Wed Oct 14 09:50:49 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2020/10/13 00:50:08 maya Exp $
+# $NetBSD: Makefile,v 1.16 2020/10/14 09:50:49 maya Exp $
 
 DISTNAME=      sysupgrade-1.5
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jmmv/}
 MAINTAINER=    jmmv%NetBSD.org@localhost
diff -r bf4936cfe14c -r fae784aa9e3d sysutils/sysupgrade/distinfo
--- a/sysutils/sysupgrade/distinfo      Wed Oct 14 08:23:49 2020 +0000
+++ b/sysutils/sysupgrade/distinfo      Wed Oct 14 09:50:49 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2020/10/13 00:50:08 maya Exp $
+$NetBSD: distinfo,v 1.7 2020/10/14 09:50:49 maya Exp $
 
 SHA1 (sysupgrade-1.5.tar.gz) = 3141ee4728d6d3b680ed04f552369031bb3b3b09
 RMD160 (sysupgrade-1.5.tar.gz) = 5b1d7c6d45643f2f03bff1df16739a6751d0ceda
@@ -6,4 +6,4 @@
 Size (sysupgrade-1.5.tar.gz) = 75833 bytes
 SHA1 (patch-default.conf) = ff367ebbdc56e1009a57a8bd254c424033257726
 SHA1 (patch-sysupgrade.conf.5.in) = dfe5d90d0360212ea052f2e25a26820ad277480b
-SHA1 (patch-sysupgrade.sh) = cf37304667dcadf043b707f9a4436a963f4bdfff
+SHA1 (patch-sysupgrade.sh) = 532b576d5dac494ed441069e579816ae4bed3377
diff -r bf4936cfe14c -r fae784aa9e3d sysutils/sysupgrade/patches/patch-sysupgrade.sh
--- a/sysutils/sysupgrade/patches/patch-sysupgrade.sh   Wed Oct 14 08:23:49 2020 +0000
+++ b/sysutils/sysupgrade/patches/patch-sysupgrade.sh   Wed Oct 14 09:50:49 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-sysupgrade.sh,v 1.4 2020/10/13 00:50:08 maya Exp $
+$NetBSD: patch-sysupgrade.sh,v 1.5 2020/10/14 09:50:49 maya Exp $
 
 * Don't reject https in sysupgrade_fetch()
 * Add ARCHIVE_EXTENSION variable (Fix PR pkg/53697)
@@ -133,7 +133,7 @@
      done
  
      shtk_cli_info "Performing postinstall checks"
-@@ -409,10 +426,12 @@ sysupgrade_postinstall() {
+@@ -409,10 +426,13 @@ sysupgrade_postinstall() {
  
  # Cleans up the cache directory.
  sysupgrade_clean() {
@@ -142,7 +142,7 @@
      [ ${#} -eq 0 ] || shtk_cli_usage_error "clean does not take any arguments"
  
      shtk_cli_info "Cleaning downloaded files"
--    rm -f "$(shtk_config_get CACHEDIR)"/*.*gz*
+     rm -f "$(shtk_config_get CACHEDIR)"/*.*gz*
 +    rm -f "$(shtk_config_get CACHEDIR)"/*.${arch_ext}*
  }
  



Home | Main Index | Thread Index | Old Index