mirror of
https://github.com/EnumeratedDev/bpm-utils.git
synced 2026-10-31 11:11:48 +00:00
Added split-package functionality and the create-repository-data script for unpac repository creation
This commit is contained in:
1 parent
d077b13a3f
commit
190a670cff
4 files changed
+177
-67
No files matched your search
+7
-1
@@ -23,7 +23,7 @@ if [[ ! "$output" =~ ^[a-z.A-Z0-9_-]{1,}$ ]]; then
|
||||
fi
|
||||
|
||||
type="binary"
|
||||
toCompress=("pkg.info")
|
||||
toCompress=()
|
||||
|
||||
echo "Creating package with the name $output..."
|
||||
|
||||
@@ -74,6 +74,12 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for pkginfo in ./pkg.inf*; do
|
||||
pkginfo=$(basename "$pkginfo")
|
||||
echo "${pkginfo} file found"
|
||||
toCompress+=("$pkginfo")
|
||||
done
|
||||
|
||||
echo "Creating $type package as $output"
|
||||
tar -c --owner=0 --group=0 --no-same-owner -zf "$output" "${toCompress[@]}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user