1
0
Files
binutils/debian/binutils.preinst
Konstantin Demin 8c29d0a2c2 initial import from Debian
version: 2.45-4 (UNRELEASED)
commit: bf4f75f17a4f370adc9bf9feca09710ce76ecc63
2025-08-11 12:46:32 +03:00

15 lines
272 B
Bash

#!/bin/sh
set -e
if test "$1" = upgrade &&
test -e /etc/gprofng.rc.dpkg-old &&
! test -e /etc/gprofng.rc &&
dpkg --compare-cversions "$2" lt "2.43.90"
then
# Moving gprofng.rc from binutils-common to binutils.
mv /etc/gprofng.rc.dpkg-old /etc/gprofng.rc
fi
exit 0