- Added package architecture checking

- Added an installed package info updater system (can add new fields to installed packages like "architecture" and check for other errors
- Moved test packages under a x86_64 subfolder
This commit is contained in:
2024-03-26 21:50:17 +02:00
parent b67f357996
commit 49b1554103
17 changed files with 856 additions and 30 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/bin/bash
if [ $# -eq 0 ]
then
echo "No output package name given!"
exit 1
fi
output=$1
echo "Creating package with the name $output..."
if [ -d files ]; then
echo "files/ directory found"
else
echo "files/ directory not found in $PWD"
exit 1
fi
if [ -f pkg.info ]; then
echo "pkg.info file found"
else
echo "pkg.info file not found in $PWD"
exit 1
fi
echo "Creating $output.bpm package..."
tar -czf $output.bpm files/ pkg.info