summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-02 11:03:42 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-02 11:03:42 (EDT)
commit50638e2d27c5a4d9340a5b7031d91358e82b4c38 (patch)
treeff079748935c3abf2b09cd1d7b2d1f239cf0b420
parent4369450d8b5275acd9449f8da33989941952400d (diff)
Make opkg links in build, not maintainer scripts.
-rwxr-xr-xbuild2
-rwxr-xr-xopkg.pkg/postinst3
-rwxr-xr-xopkg.pkg/prerm3
3 files changed, 2 insertions, 6 deletions
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