[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-fdisk] [PATCH] Force symbolic link creation
From: |
Guido Trentalancia |
Subject: |
[bug-fdisk] [PATCH] Force symbolic link creation |
Date: |
Mon, 19 Sep 2011 03:23:00 +0200 |
Hello.
If the symbolic link creation is not forced, the installation fails.
I suggest the following change:
--- fdisk-1.3.0a-orig/configure 2011-09-19 03:06:55.272605744 +0200
+++ fdisk-1.3.0a/configure 2011-09-19 03:07:29.430770808 +0200
@@ -8074,7 +8074,7 @@ ln -s test00 test01 || :
SYMLINK=""
SYMLINKFROM="fdisk"
if test -L test01; then
- SYMLINK="ln -s"
+ SYMLINK="ln -sf"
else
SYMLINKFROM="${sbindir}/fdisk"
rm -f test01
--- fdisk-1.3.0a-orig/configure.ac 2011-09-19 03:06:59.013621018 +0200
+++ fdisk-1.3.0a/configure.ac 2011-09-19 03:07:39.681818560 +0200
@@ -125,7 +125,7 @@ ln -s test00 test01 || :
SYMLINK=""
SYMLINKFROM="fdisk"
if test -L test01; then
- SYMLINK="ln -s"
+ SYMLINK="ln -sf"
else
SYMLINKFROM="${sbindir}/fdisk"
rm -f test01
Guido
- [bug-fdisk] [PATCH] Force symbolic link creation,
Guido Trentalancia <=