diff options
author | fab31 | 2016-02-25 23:17:18 +0100 |
---|---|---|
committer | fab31 | 2016-02-25 23:17:18 +0100 |
commit | 389059003181dddf7b20b172648690dd394f8219 (patch) | |
tree | ed2ece323f0c0c4419318cf4d80b974b943d6d97 | |
parent | e54d2ff876e45f1a5cdc064035cdac55c79ee360 (diff) | |
download | aur-389059003181dddf7b20b172648690dd394f8219.tar.gz |
patch file to work well ;)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 14 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = plosetup pkgdesc = helper to set up loop devices for partitions in a disk image pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = http://zwizwa.be/darcs/pool/bin/plosetup arch = any license = Artistic2.0 @@ -1,7 +1,7 @@ # Maintainer: Fabien Devaux <fdev31@gmail.com> pkgname=plosetup pkgver=1.0 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="helper to set up loop devices for partitions in a disk image" arch=("any") @@ -25,6 +25,18 @@ md5sums=("2de1300fd8cfeab9ab2de105f5144bda") validpgpkeys=() prepare() { +cat <<EOF | patch --follow-symlinks plosetup +--- plosetup~ 2016-02-25 22:38:43.000000000 +0100 ++++ plosetup 2016-02-25 22:51:06.336526290 +0100 +@@ -84,6 +84,7 @@ + + case "\$(file -b \$IMG)" in + (x86\\ boot\\ sector*) :;; ++ (DOS*\\ boot\\ sector*) :;; + *) + echo "E: \$ME: \$IMG does not have a msdos partition table" + exit 3 +EOF chmod +x plosetup } |