diff --git a/update_psa_impl b/update_psa_impl index 9ba3110..3c96063 100755 --- a/update_psa_impl +++ b/update_psa_impl @@ -106,7 +106,7 @@ update_psa() { revert_customer_repository exit $__r fi - + # copy *.conf and/or *.ini-files to their corresponding system-directories if ! copy $files_to_copy; then local __r=$? @@ -114,11 +114,11 @@ update_psa() { revert_customer_repository exit $__r fi - + # check if the opkg-command-file has been changed during 'git pull' if grep -qE ".*opkg_commands.*?" <<< $changed_files; then # read opkg_cmds: each line respresents an opkg-command - readarray opkg_commands < <(cat $opkg_cmds_file) + readarray opkg_commands < <(cat $OPKG_CMDS_PSA_FILE) for opkg_c in "${opkg_commands[@]}"; do if grep -qE "^\s*[#]+.*$" <<< $opkg_c; then continue # found comment line