diff --git a/etc/preload-daemon b/etc/preload-daemon index 22e9e86051..200f1e8513 100755 --- a/etc/preload-daemon +++ b/etc/preload-daemon @@ -55,7 +55,7 @@ fi if [ "$(stat -c %Y /var/lib/dpkg/status 2>/dev/null)" != "$(cat "${DIRECTORY}/data/preload/timestamps-dpkg-status" 2>/dev/null)" ];then echo "Refreshing pkgapp_status..." 1>&2 stat -c %Y /var/lib/dpkg/status 2>/dev/null > "${DIRECTORY}/data/preload/timestamps-dpkg-status" - refresh_all_pkgapp_status & + refresh_all_pkgapp_status fi #get modified timestamps for files/directories in the pi-apps folder diff --git a/etc/runonce-entries b/etc/runonce-entries index 264b16f3eb..a26d10066a 100755 --- a/etc/runonce-entries +++ b/etc/runonce-entries @@ -52,16 +52,6 @@ runonce <<"EOF" fi EOF -#regenerate package-app status for one-time migration -runonce <<"EOF" - IFS=$'\n' - for app in $(list_apps package) ;do - rm -f "${DIRECTORY}/data/status/${app}" || exit 1 - done - - refresh_all_pkgapp_status -EOF - # remove deprecated apps (only when running in a visible terminal) case $(ps -o stat= -p $$) in *+*) # Running in foreground