summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-23 16:19:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-23 16:22:15 (EDT)
commitb86466ec2109861becf1aa2368786562e508fa30 (patch)
treed405712614c73616c6dc7135c9efc5871d3694fe
parent24245142c40e54daddc339e83d89914acc7a902a (diff)
bc: Manage /usr/bin/bc with update-alternatives
-rw-r--r--bc.pkg/files2
-rwxr-xr-xbuild1
-rw-r--r--changelog1
3 files changed, 3 insertions, 1 deletions
diff --git a/bc.pkg/files b/bc.pkg/files
index b809694..09cea2b 100644
--- a/bc.pkg/files
+++ b/bc.pkg/files
@@ -1 +1 @@
-/usr/bin/bc
+/usr/bin/bc.gnu
diff --git a/build b/build
index 290e764..e662a57 100755
--- a/build
+++ b/build
@@ -15,6 +15,7 @@ build: configure
install: build
oh-autoinstall -- MAKEINFO=:
+ mv dest/usr/bin/bc dest/usr/bin/bc.gnu
mv dest/usr/bin/dc dest/usr/bin/dc.gnu
# Remove GNU Info index.
rm -f dest/usr/share/info/dir
diff --git a/changelog b/changelog
index a0f33ef..41122af 100644
--- a/changelog
+++ b/changelog
@@ -4,6 +4,7 @@ bc (1.07.1-1) trunk
- Apply a patch to convert bc/fix-libmath_h to use sed instead of ed.
* Update Maintainer.
* bc, dc: Use automatic shared library dependencies.
+ * bc: Manage /usr/bin/bc with update-alternatives.
-- Patrick McDermott <patrick.mcdermott@libiquity.com> Sat, 08 Jun 2019 15:18:01 -0400