[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-fdisk] [PATCH] Force symbolic link creation
From: |
Christian |
Subject: |
Re: [bug-fdisk] [PATCH] Force symbolic link creation |
Date: |
Mon, 19 Sep 2011 20:24:08 +0200 |
On lun, 2011-09-19 at 03:23 +0200, Guido Trentalancia wrote:
> 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
>
Merged, Many thanks!