From 75e79a95c5b8ac7af25134db7a1aa6deb5bf08cf Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 20 Jun 2011 12:56:37 -0500 Subject: network/opera: Fix the package type reported by the build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Ruarí Ødegaard for the tip. Signed-off-by: Robby Workman --- network/opera/opera.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'network') diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild index d91062ea82899..477f6859e6df1 100644 --- a/network/opera/opera.SlackBuild +++ b/network/opera/opera.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=opera VERSION=11.11 REVNO=2109 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,6 +66,10 @@ chmod -R u+w,go+r-w,a-s . [ "$LIBDIRSUFFIX" = "64" ] && patch -p1 < $CWD/fixup_libdir.diff [ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} +# Fix the package type reported by the build +# Thanks to Ruarí Ødegaard for the tip +sed "s,^\(Package\ Type=\)rpm$,\1tar," -i $PKG/usr/share/opera/package-id.ini + mv $PKG/usr/share/man $PKG/usr mv $PKG/usr/share/doc $PKG/usr -- cgit v1.2.3