redy for first test

This commit is contained in:
6543
2019-03-07 00:45:10 +01:00
parent d1c5b2421d
commit 574fcec914
2 changed files with 11 additions and 3 deletions

View File

@@ -9,6 +9,14 @@ function clean() {
function copy() { function copy() {
echo "copy files ..." echo "copy files ..."
# shorter # shorter
mkdir -p build/usr/bin/
cp -v src/shorter build/usr/bin/shorter
chmod +x build/usr/bin/shorter
##changelog
#mkdir -p build/usr/share/doc/shorter
#cp -v changes/shorter.md build/usr/share/doc/shorter/changelog
#gzip --best build/usr/share/doc/shorter/changelog
} }
#modes #modes
@@ -29,7 +37,7 @@ function install() {
copy copy
#set owner #set owner
chown -r root:root build/ chown -R root:root build/
#install #install
cp -f -r build/* / cp -f -r build/* /
@@ -56,7 +64,7 @@ function build-deb() {
sed -i "s/<SIZE>/$SIZE/g" build/DEBIAN/control sed -i "s/<SIZE>/$SIZE/g" build/DEBIAN/control
#set owner #set owner
chown -r root:root build/ chown -R root:root build/
## ##
#build deb #build deb

View File

@@ -2,7 +2,7 @@
#@date 2019-03-04 #@date 2019-03-04
#@version 0.1 #@version 0.1
echo #@author markus@obermui.de, 6543@obermui.de
arg1="$1" arg1="$1"
[ "$arg1" == "--help" ] && [ "$arg1" == "--help" ] &&