diff options
Diffstat (limited to 'scripts/postinst-intercepts')
-rwxr-xr-x | scripts/postinst-intercepts/postinst_intercept | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/postinst-intercepts/postinst_intercept b/scripts/postinst-intercepts/postinst_intercept index 27c256834c..a257198bbd 100755 --- a/scripts/postinst-intercepts/postinst_intercept +++ b/scripts/postinst-intercepts/postinst_intercept | |||
@@ -41,7 +41,7 @@ fi | |||
41 | 41 | ||
42 | chmod +x "$intercept_script" | 42 | chmod +x "$intercept_script" |
43 | 43 | ||
44 | pkgs_line="$(cat $intercept_script|grep "##PKGS:")" | 44 | pkgs_line=$(grep "##PKGS:" $intercept_script) |
45 | if [ -n "$pkgs_line" ]; then | 45 | if [ -n "$pkgs_line" ]; then |
46 | # line exists, add this package to the list only if it's not already there | 46 | # line exists, add this package to the list only if it's not already there |
47 | if [ -z "$(echo "$pkgs_line" | grep " $package_name ")" ]; then | 47 | if [ -z "$(echo "$pkgs_line" | grep " $package_name ")" ]; then |