summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild6
-rw-r--r--opkg.pkg/files2
2 files changed, 3 insertions, 5 deletions
diff --git a/build b/build
index 3b87522..5aee34c 100755
--- a/build
+++ b/build
@@ -28,10 +28,9 @@ build-opkg-gpg:
build: build-opkg build-opkg-gpg
install: build
- oh-autoinstall -B obj-opkg
- mv dest/usr/bin/opkg-cl dest/usr/bin/opkg
oh-autoinstall -B obj-opkg-gpg
- mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-gpg # Will be renamed later
+ mv dest/usr/bin/opkg-cl dest/usr/bin/opkg-gpg
+ oh-autoinstall -B obj-opkg
rm -Rf dest/usr/include/ \
dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ \
dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.a \
@@ -40,4 +39,3 @@ install: build
oh-fixperms
oh-strip -k
oh-installfiles
- mv opkg-gpg.data/usr/bin/opkg-gpg opkg-gpg.data/usr/bin/opkg # See above
diff --git a/opkg.pkg/files b/opkg.pkg/files
index 5326c42..7b076bd 100644
--- a/opkg.pkg/files
+++ b/opkg.pkg/files
@@ -1 +1 @@
-/usr/bin/opkg
+/usr/bin/opkg-cl