summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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