From 064e7542797fe684c461e88be9577d04109671c0 Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Tue, 02 Apr 2019 02:55:34 -0400
Subject: opkg: Provide opkg-cl, not opkg

---
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
--
cgit v0.9.1