diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-06-20 12:56:37 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:59:29 -0300 |
commit | 75e79a95c5b8ac7af25134db7a1aa6deb5bf08cf (patch) | |
tree | cb436c8afed7b9bc89e2569901f0090d0c4574a2 /network/opera | |
parent | a0f0cb67fb0867bb79755c928f71b4930df5025d (diff) |
network/opera: Fix the package type reported by the build
Thanks to Ruarí Ødegaard <ruario@opera.com> for the tip.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/opera')
-rw-r--r-- | network/opera/opera.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 <ruario@opera.com> 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 |