diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-04-07 13:19:46 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-04-07 13:19:46 -0300 |
commit | 29a7f77c459f7cec3669d46991b4942c46c36c7b (patch) | |
tree | e508c0e256989b10015530b645d23efdcd001551 | |
parent | 907142c8f094e325f58d6aa5082cd37503187916 (diff) | |
download | nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.tar nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.tar.gz nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.tar.bz2 nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.tar.lz nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.tar.xz nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.tar.zst nixpkgs-29a7f77c459f7cec3669d46991b4942c46c36c7b.zip |
deepin: setup hook grep with '-a'
-rwxr-xr-x | pkgs/desktops/deepin/setup-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/deepin/setup-hook.sh b/pkgs/desktops/deepin/setup-hook.sh index 15fe5be1538..63a43bb5840 100755 --- a/pkgs/desktops/deepin/setup-hook.sh +++ b/pkgs/desktops/deepin/setup-hook.sh @@ -11,7 +11,7 @@ searchHardCodedPaths() { grep --color=always -r -E '\<(ExecStart|Exec|startDetached|execute|exec\.(Command|LookPath))\>' $dir || true echo ----------- looking for hard coded paths - grep --color=always -r -E '/(usr|bin|sbin|etc|var|opt)\>' $dir || true + grep --color=always -a -r -E '/(usr|bin|sbin|etc|var|opt)\>' $dir || true echo ----------- done } |