mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 02:26:12 +00:00
- 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:
Binary file not shown.
+28
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
name: bpm-utils
|
||||
description: Utilities to create BPM packages
|
||||
version: 1.0.0
|
||||
architecture: x86_64
|
||||
type: binary
|
||||
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
name: bpm
|
||||
description: The Bubble Package Manager
|
||||
version: 0.0.6
|
||||
architecture: x86_64
|
||||
type: binary
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
name: hello
|
||||
description: A simple hello world program
|
||||
version: 1.0
|
||||
architecture: x86_64
|
||||
type: binary
|
||||
Reference in New Issue
Block a user