Bin cleanup

This commit is contained in:
Ryan Hughes
2025-08-28 19:14:28 +03:00
parent 9262d011f4
commit c5f7c41b3b
4 changed files with 164 additions and 163 deletions
+7 -6
View File
@@ -8,12 +8,13 @@ ARCH_DIR="$BUILD_ROOT/x86_64"
DB_FILE="$ARCH_DIR/omarchy.db.tar.zst"
if [[ ! -f "$DB_FILE" ]]; then
echo "Repository database not found"
exit 1
echo "Repository database not found"
exit 1
fi
# Extract package names and versions from database
tar -xOf "$DB_FILE" --wildcards "*/desc" 2>/dev/null |
awk '/%NAME%/{getline; name=$0}
/%VERSION%/{getline; print name "-" $0}' |
sort
tar -xOf "$DB_FILE" --wildcards "*/desc" 2>/dev/null |
awk '/%NAME%/{getline; name=$0}
/%VERSION%/{getline; print name "-" $0}' |
sort