Lines 231-236
init_template_paths()
Link Here
|
231 |
PO_DIR="$TRANSLATE_DIR/po" |
231 |
PO_DIR="$TRANSLATE_DIR/po" |
232 |
} |
232 |
} |
233 |
|
233 |
|
|
|
234 |
flush_cache() |
235 |
{ |
236 |
if [ "$dev" = "" ]; then |
237 |
koha-foreach --enabled "$KOHA_HOME/misc/bin/clear_cache.pl" |
238 |
else |
239 |
koha-shell $dev -c "$KOHA_HOME/misc/bin/clear_cache.pl" |
240 |
fi |
241 |
} |
242 |
|
234 |
# Control variables |
243 |
# Control variables |
235 |
list_all="" |
244 |
list_all="" |
236 |
op="" |
245 |
op="" |
Lines 298-308
case $op in
Link Here
|
298 |
"list") |
307 |
"list") |
299 |
list $list_all ;; |
308 |
list $list_all ;; |
300 |
"install") |
309 |
"install") |
301 |
install_lang $language ;; |
310 |
install_lang $language |
|
|
311 |
flush_cache |
312 |
;; |
302 |
"update") |
313 |
"update") |
303 |
update_lang $language ;; |
314 |
update_lang $language ;; |
304 |
"remove") |
315 |
"remove") |
305 |
remove_lang $language ;; |
316 |
remove_lang $language |
|
|
317 |
flush_cache |
318 |
;; |
306 |
"check") |
319 |
"check") |
307 |
check_lang_po_files $language ;; |
320 |
check_lang_po_files $language ;; |
308 |
*) |
321 |
*) |