Skip to content

Commit 90cf18d

Browse files
committed
Sync files from source repository
1 parent 51a0098 commit 90cf18d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

am2pla-site

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ arch="x86_64"
1212

1313
# GET THE NAMES OF ALL APPLICATION
1414
curl -Ls "$AMREPO"/programs/"$arch"-apps > "$arch"-apps || exit 1
15-
curl -Ls "$AMREPO"/programs/"$arch"-appimages > "$arch"-appimages || exit 1
15+
curl -Ls "$AMREPO"/programs/stats-appimages > stats-appimages || exit 1
1616
curl -Ls "$AMREPO"/programs/stats-portable > stats-portable || exit 1
1717

1818
if ! grep -q "^◆ " "$arch"-apps; then exit 0; fi
19+
if ! grep -q "^◆ " stats-appimages; then exit 0; fi
1920
if ! grep -q "^◆ " stats-portable; then exit 0; fi
20-
if ! grep -q "^◆ " "$arch"-appimages; then exit 0; fi
2121

2222
ARGS=$(sort -u "$arch"-apps | awk -v FS="(◆ | : )" '{print $2}')
23-
APPIMAGES=$(sort -u "$arch"-appimages | awk -v FS="(◆ | : )" '{print $2}')
23+
APPIMAGES=$(sort -u stats-appimages | awk -v FS="(◆ | : )" '{print $2}')
2424
PORTABLE=$(sort -u stats-portable | grep -v "#itsappimageonthefly" | awk -v FS="(◆ | : )" '{print $2}')
2525

2626
# GET THE EXACT NUMBER OF AVAILABLE APPS
@@ -228,7 +228,7 @@ _footer_apps >> apps.md
228228
########################
229229

230230
ARGS="$APPIMAGES"
231-
APPIMAGES_NUMBER=$(sort -u "$arch"-appimages | wc -l)
231+
APPIMAGES_NUMBER=$(sort -u stats-appimages | wc -l)
232232

233233
echo "# APPIMAGES" > appimages.md
234234
_back_to_home_or_apps_buttons >> appimages.md
@@ -308,6 +308,7 @@ for category in $CATEGORIES; do
308308
elif [ "$category" = command-line ]; then
309309

310310
CATEGORY_MSG=""
311+
grep -i "#itscliapp" ./stats-appimages | sed 's/ /#itscliapp/g' >> "$arch-$category"
311312
grep -i "#itscliapp" ./stats-portable | sed 's/ /#itscliapp/g' >> "$arch-$category"
312313
grep -i -- "$category\|command line\| cli \|-cli\|terminal\|fastboot\| npm \| bash \| shell \| dash \| zsh \|\"am-utils\"\| appimagetool \| appimageupdate" ./"$arch"-apps >> "$arch-$category"
313314

@@ -820,4 +821,4 @@ category_page=""
820821
_categories_buttons >> ./index.md
821822
INDEX_BODY_FULL
822823

823-
rm ./"$arch"-apps ./"$arch"-appimages ./stats-portable ./body.txt*
824+
rm ./"$arch"-apps ./stats-appimages ./stats-portable ./body.txt*

command-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| [Back to Home](index.md) | [Back to Applications](apps.md)
44
| --- | --- |
55

6-
#### Here are listed **923** programs and **5** items for this category.
6+
#### Here are listed **946** programs and **5** items for this category.
77

88

99
<div id="app-search-box" style="margin: 1em 0;">

0 commit comments

Comments
 (0)