Skip to content

Commit 658b33a

Browse files
authored
Update database.am, option "-f" or "files"
- classify apps installed with the -e option into the "extra" database (which does not exist)
1 parent cdd78dc commit 658b33a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/database.am

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ _about_page() {
139139
# FILES
140140
################################################################################
141141
_files_header() {
142+
third_party_lists="$third_party_lists extra"
142143
for f in $third_party_lists; do
143144
[ -z "$CHECK_SUPPORTED_THIRD_PARTY_APPS" ] && CHECK_SUPPORTED_THIRD_PARTY_APPS="$(find "$APPSPATH"/* -type f -name "*.$f*" -print -quit 2>/dev/null)"
144145
done
@@ -258,8 +259,6 @@ _files_db() {
258259
_files_db_third_party
259260
elif [ "$arg" = am ]; then
260261
DB="am"
261-
elif test -f "$CACHEDIR"/extra/"$arg" || test -f "$APPSPATH"/"$arg"/.am-installer/"$arg" && ! grep -q "^APP=" "$APPSPATH"/"$arg"/.am-installer/"$arg"; then
262-
DB="none"
263262
elif test -f "$AMDATADIR/$ARCH-apps" && ! grep -q "^◆ $arg :" "$AMDATADIR/$ARCH-apps"; then
264263
DB="unknown"
265264
else

0 commit comments

Comments
 (0)