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