mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-13 13:21:03 +00:00
build-package.sh: partly undo 9b2f3b6
We'll rename debug debs to ${PKG}-dbg but not the actual package name in
control. Debug versions of packages and normal packages can then replace each
other without complaints from apt.
We need to work a bit more on it to be able to setup a debug repo.
This commit is contained in:
committed by
Fredrik Fornwall
parent
d76e3baa06
commit
bb51e60d17
@@ -1111,7 +1111,7 @@ termux_step_massage() {
|
||||
mkdir -p DEBIAN
|
||||
cd DEBIAN
|
||||
cat > control <<-HERE
|
||||
Package: $SUB_PKG_NAME$DEBUG
|
||||
Package: $SUB_PKG_NAME
|
||||
Architecture: ${SUB_PKG_ARCH}
|
||||
Installed-Size: ${SUB_PKG_INSTALLSIZE}
|
||||
Maintainer: $TERMUX_PKG_MAINTAINER
|
||||
@@ -1179,7 +1179,7 @@ termux_step_create_debfile() {
|
||||
|
||||
mkdir -p DEBIAN
|
||||
cat > DEBIAN/control <<-HERE
|
||||
Package: $TERMUX_PKG_NAME$DEBUG
|
||||
Package: $TERMUX_PKG_NAME
|
||||
Architecture: ${TERMUX_ARCH}
|
||||
Installed-Size: ${TERMUX_PKG_INSTALLSIZE}
|
||||
Maintainer: $TERMUX_PKG_MAINTAINER
|
||||
|
||||
Reference in New Issue
Block a user