summaryrefslogtreecommitdiff
path: root/textproc/publican/files/patch-completion-publican
blob: 79616e05be9dfa89c62f9b46f56a203dbda48987 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- completion/_publican.orig	2012-08-16 13:12:17.798392922 -0400
+++ completion/_publican	2012-08-16 13:12:37.492392277 -0400
@@ -6,7 +6,7 @@
 
 	COMPREPLY=()
 	cur=`_get_cword`
-        brands=`ls /usr/share/publican/Common_Content`
+        brands=`ls %%DATADIR%%/Common_Content`
 
 	commands='build bump clean clean_ids clean_set create create_brand create_site help_config install_book install_brand lang_stats old2new package print_banned print_known print_tree print_unused remove_book rename site_stats update_db update_po update_pot update_site'