aboutsummaryrefslogtreecommitdiffstats
path: root/main/e2fsprogs
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-21 07:02:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-21 07:05:40 +0000
commit600c274d15c2a5124895c771b1e962693267b8ae (patch)
treea799f4bda9ec0939bee0ca97933b6c9ed4248c8e /main/e2fsprogs
parenta93e7f4a43e7814cf3274e307c759b2989308457 (diff)
downloadaports-600c274d15c2a5124895c771b1e962693267b8ae.tar.bz2
aports-600c274d15c2a5124895c771b1e962693267b8ae.tar.xz
main/e2fsprogs: update busybox links from post-install
e2fsprogs no longer provides fsck. busybox trigger should fix this but upgraderes might have an old apk-tools running so we fix this by running post-upgrade. fixes #143
Diffstat (limited to 'main/e2fsprogs')
-rw-r--r--main/e2fsprogs/APKBUILD3
-rw-r--r--main/e2fsprogs/e2fsprogs.post-upgrade4
2 files changed, 6 insertions, 1 deletions
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD
index 41ad9a0bd3..12cb2ffe54 100644
--- a/main/e2fsprogs/APKBUILD
+++ b/main/e2fsprogs/APKBUILD
@@ -1,11 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=e2fsprogs
pkgver=1.41.8
-pkgrel=1
+pkgrel=2
pkgdesc="Standard Ext2/3/4 filesystem utilities"
url="http://e2fsprogs.sourceforge.net"
license="GPL LGPL MIT"
depends=
+install="$pkgname.post-upgrade"
makedepends="util-linux-ng-dev pkgconfig"
subpackages="$pkgname-dev $pkgname-doc libcom_err"
source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz"
diff --git a/main/e2fsprogs/e2fsprogs.post-upgrade b/main/e2fsprogs/e2fsprogs.post-upgrade
new file mode 100644
index 0000000000..d7062db5a7
--- /dev/null
+++ b/main/e2fsprogs/e2fsprogs.post-upgrade
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# we no longer provide fsck. restore bb link.
+busybox --install -s