[nautilus-actions] gconf2key migration: do not grep on full pathname



commit 21b3a32c7e979f0c62ae9d042c1856f41f6f4612
Author: Pierre <pierre vfedora13 virtuals pwi>
Date:   Wed Jan 12 11:34:42 2011 +0100

    gconf2key migration: do not grep on full pathname

 src/utils/na-gconf2key.sh.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/utils/na-gconf2key.sh.in b/src/utils/na-gconf2key.sh.in
index 51a8e53..5efe411 100644
--- a/src/utils/na-gconf2key.sh.in
+++ b/src/utils/na-gconf2key.sh.in
@@ -417,9 +417,9 @@ for dir in $(gconftool-2 --all-dirs ${na_configurations}); do
 		while [ -e ${opt_dir}/${id}-${i}.desktop ]; do
 			let i+=1
 		done
-		command "${na_print_program} --id ${id} | grep -v ${na_print_program} > ${opt_dir}/${id}-${i}.desktop"
+		command "${na_print_program} --id ${id} | grep -v 'nautilus-actions-print' > ${opt_dir}/${id}-${i}.desktop"
 	else
-		command "${na_print_program} --id ${id} | grep -v ${na_print_program} > ${opt_dir}/${id}.desktop"
+		command "${na_print_program} --id ${id} | grep -v 'nautilus-actions-print' > ${opt_dir}/${id}.desktop"
 	fi
 done
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]