initial commit

This commit is contained in:
vollstock
2018-09-20 15:38:43 +02:00
parent c029a5d07b
commit 0186a946dc
54 changed files with 994 additions and 0 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# build packages
for folder in *; do
if [ -d $folder ] && [ ${folder:0:1} != "#" ]; then
package="$(cat $folder/DEBIAN/control | grep 'Package: ')"
arch="$(cat $folder/DEBIAN/control | grep 'Architecture: ')"
version="$(cat $folder/DEBIAN/control | grep 'Version: ')"
dpkg --build $folder "${package#*: }_${version#*: }_${arch#*: }.deb"
#echo "${package#*: }_${version#*: }_${arch#*: }.deb"
fi
done