From 50638e2d27c5a4d9340a5b7031d91358e82b4c38 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 02 Jun 2013 11:03:42 -0400 Subject: Make opkg links in build, not maintainer scripts. --- diff --git a/build b/build index 25ffc68..ca10aac 100755 --- a/build +++ b/build @@ -14,6 +14,8 @@ build: install: build oh-autoinstall rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la + ln -sf opkg-cl dest/usr/bin/opkg + ln -sf opkg-cl.1 dest/usr/share/man/man1/opkg.1 oh-fixperms oh-strip -k oh-installfiles diff --git a/opkg.pkg/postinst b/opkg.pkg/postinst deleted file mode 100755 index c4baf40..0000000 --- a/opkg.pkg/postinst +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -ln -s opkg-cl /usr/bin/opkg diff --git a/opkg.pkg/prerm b/opkg.pkg/prerm deleted file mode 100755 index 91527fa..0000000 --- a/opkg.pkg/prerm +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -rm /usr/bin/opkg -- cgit v0.9.1