From 5a519379cb2798310f20ebe4fc06c30cec114965 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 27 May 2013 13:58:38 -0400 Subject: Manage /usr/bin/ar with update-alternatives. --- (limited to 'binutils.pkg.in/prerm') diff --git a/binutils.pkg.in/prerm b/binutils.pkg.in/prerm new file mode 100644 index 0000000..0eda014 --- /dev/null +++ b/binutils.pkg.in/prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "${1}" = remove ]; then + if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then + update-alternatives --remove ar /usr/bin/ar.binutils + fi +fi -- cgit v0.9.1