From b86466ec2109861becf1aa2368786562e508fa30 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 23 Jun 2019 16:19:41 -0400 Subject: bc: Manage /usr/bin/bc with update-alternatives --- 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 Sat, 08 Jun 2019 15:18:01 -0400 -- cgit v0.9.1