dracut-functions.sh: grep for "--relative" for the ln_r() check
parent
026b81e980
commit
7224913d16
|
@ -193,7 +193,7 @@ convert_abs_rel() {
|
||||||
echo "$__newpath"
|
echo "$__newpath"
|
||||||
}
|
}
|
||||||
|
|
||||||
if strstr "$(ln --help)" "relative"; then
|
if strstr "$(ln --help)" "--relative"; then
|
||||||
ln_r() {
|
ln_r() {
|
||||||
ln -sfnr "${initdir}/$1" "${initdir}/$2"
|
ln -sfnr "${initdir}/$1" "${initdir}/$2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue