opnsense-ports/graphics/llpp/files/patch-misc_llppac
Franco Fichtner 91bbc58c44 */*: sync with upstream
Taken from: FreeBSD
2016-07-01 09:36:27 +02:00

20 lines
510 B
Text

--- misc/llppac.orig 2015-10-13 20:12:27 UTC
+++ misc/llppac
@@ -7,7 +7,7 @@ die() {
}
cachedir="${XDG_CACHE_HOME:-$HOME/.cache}/llpp"
-test -d "$cachedir" || die "cache directory '$cachedir' does not exist"
+mkdir -p "$cachedir"
caspsuf=
type=
@@ -197,7 +197,7 @@ EOF
*) die "unhandled filter type: '$type'";;
esac
-hash=$(md5sum "$md5of") || die "$hash"
+hash=$(md5 -q "$md5of") || die "$hash"
casp=$cachedir/${hash%% *}$caspsuf
(test -n "$force" -o ! -e "$casp") && eval "$filt" "$conv"