diff --git a/src/freedombone-utils-final b/src/freedombone-utils-final index 6f5d672a..9c448dda 100755 --- a/src/freedombone-utils-final +++ b/src/freedombone-utils-final @@ -70,6 +70,8 @@ function install_final { } function update_installed_apps_list { + # Why does this secondary file exist, apart from COMPLETION_FILE ? + # It's so that it is visible to unprivileged users from the user control panel cat $COMPLETION_FILE | grep "install_" > /usr/share/${PROJECT_NAME}/installed.txt } diff --git a/src/freedombone-utils-selector b/src/freedombone-utils-selector index a25f719e..99537ae9 100755 --- a/src/freedombone-utils-selector +++ b/src/freedombone-utils-selector @@ -59,6 +59,9 @@ function item_in_array { function app_is_installed { app_name="$1" + + # Why does this secondary file exist, apart from COMPLETION_FILE ? + # It's so that it is visible to unprivileged users from the user control panel INSTALLED_APPS_LIST=/usr/share/${PROJECT_NAME}/installed.txt if [ -f $INSTALLED_APPS_LIST ]; then if ! grep -Fxq "install_${app_name}" $INSTALLED_APPS_LIST; then