Another refactor
This commit is contained in:
parent
9c0cb8c32f
commit
a767208c33
14 changed files with 116 additions and 149 deletions
|
@ -31,10 +31,10 @@ build() {
|
|||
makedeb(){
|
||||
GIT_VERSION=$1
|
||||
DEB_VERSION=$2
|
||||
PATH_DEB=/tmp/dist/rootfs
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
|
||||
cp /tmp/server/gotify-server ${PATH_DEB}/usr/bin/
|
||||
cp /tmp/server/config.example.yml ${PATH_DEB}/etc/gotify/config.yml
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB}/ /tmp/dist/
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue