diff options
-rw-r--r-- | core/ports/post_update_patches.patch.new | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/ports/post_update_patches.patch.new b/core/ports/post_update_patches.patch.new index a9a26df..06730b7 100644 --- a/core/ports/post_update_patches.patch.new +++ b/core/ports/post_update_patches.patch.new @@ -1,6 +1,6 @@ --- ports.in 2004-03-07 21:55:24.000000000 +0100 +++ ports.in 2016-04-27 22:41:06.030194539 +0200 -@@ -22,6 +22,57 @@ +@@ -22,6 +22,59 @@ VERSION="#VERSION#" PORTS_DIR="/usr/ports" @@ -43,7 +43,9 @@ + *.new) + echo "$(pwd): copying '$DATEI'" + cp $DATEI $(basename $DATEI .new) -+ md5sum $(basename $DATEI .new) >> .md5sum ++ if [ -f .md5sum ]; then ++ md5sum $(basename $DATEI .new) >> .md5sum ++ fi + sha256sum --tag $(basename $DATEI .new) >> .signature + ;; + *) |