From 95704d64e3ae843294f042d991cccd6e5673decc Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Wed, 12 Sep 2007 10:04:41 -0600 Subject: [PATCH] build: cfdisk doesn't exist on some architectures. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 3bce8c68..c542fc54 100755 --- a/debian/rules +++ b/debian/rules @@ -109,7 +109,7 @@ ifneq ($(DISTRO),Debian) endif cd debian; if [ -f util-linux/sbin/fdisk ]; then \ ln util-linux/sbin/*fdisk fdisk-udeb/usr/sbin; \ - mv fdisk-udeb/usr/sbin/cfdisk cfdisk-udeb/usr/sbin; \ + S=fdisk-udeb/usr/sbin/cfdisk; if [ -f $$S ]; then mv $$S cfdisk-udeb/usr/sbin; fi; \ fi cd debian/util-linux-locales && find usr/share/locale -type f | while read x; do ln $$x ../cfdisk-udeb/$$x; done ifeq ($(DEB_HOST_ARCH_OS),linux) -- 2.39.5