Update version

This commit is contained in:
thomas 2022-11-21 22:52:21 +01:00
parent e7009df100
commit 7ef4baf9a9
10 changed files with 67 additions and 33 deletions

View file

@ -19,7 +19,7 @@ build(){
makedeb(){
PATH_DEB=/tmp/src/rootfs
PATH_DEB_INSTALL=/tmp/src/rootfs-install
mv /tmp/${APP}/phpBB/install ${PATH_DEB_INSTALL}/usr/share/phpbb
cp -fr /tmp/${APP}/phpBB ${PATH_DEB}/usr/share/phpbb
@ -35,10 +35,10 @@ makedeb(){
mv ${PATH_DEB}/usr/share/phpbb/cache ${PATH_DEB}/var/lib/phpbb/cache
ln -s /var/cache/phpbb ${PATH_DEB}/usr/share/phpbb/cache
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB_INSTALL}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB_INSTALL} /tmp/dist
}