e2fsprogs: check if e2scrub_all_cron exists
doesn’t exist on macos
This commit is contained in:
parent
eaf153b17e
commit
2522f58b0e
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postInstall = ''
|
||||
# avoid cycle between outputs
|
||||
mv $out/lib/${pname}/e2scrub_all_cron $bin/bin/
|
||||
if [ -f $out/lib/${pname}/e2scrub_all_cron ]; then
|
||||
mv $out/lib/${pname}/e2scrub_all_cron $bin/bin/
|
||||
fi
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue