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() {
echo "copy files ..."
# 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
@@ -29,7 +37,7 @@ function install() {
copy
#set owner
chown -r root:root build/
chown -R root:root build/
#install
cp -f -r build/* /
@@ -56,7 +64,7 @@ function build-deb() {
sed -i "s/<SIZE>/$SIZE/g" build/DEBIAN/control
#set owner
chown -r root:root build/
chown -R root:root build/
##
#build deb

View File

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