diff --git a/shell/update.sh b/shell/update.sh index 1d93c05b..4d60fb60 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -105,7 +105,7 @@ add_cron() { cd $dir_scripts for file in $(cat $list_add); do local file_name=${file/${path}\//} - file_name=${file/${path}\_/} + file_name=${file_name/${path}\_/} if [[ -f $file ]]; then cron_line=$( perl -ne "{