Adjustments
This commit is contained in:
parent
c3273a1fb0
commit
566fcdc4f3
4
build.sh
4
build.sh
@ -26,9 +26,7 @@ sed -i "s/ARCH/$ARCH/" debian/DEBIAN/control
|
||||
sed -i "s/VERSION/$ESCAPEDVERSION/" debian/DEBIAN/control
|
||||
|
||||
if [ $TYPE == "sdk" ]; then
|
||||
sed -i "s/sdk/SDK/" debian/DEBIAN/control
|
||||
sed -i "s/normal/sdk/" debian/DEBIAN/control
|
||||
sed -i "s/SDK/normal/" debian/DEBIAN/control
|
||||
fi
|
||||
|
||||
function clean_exit() {
|
||||
@ -36,9 +34,7 @@ function clean_exit() {
|
||||
sed -i "s/$ARCH/ARCH/" debian/DEBIAN/control
|
||||
sed -i "s/$ESCAPEDVERSION/VERSION/" debian/DEBIAN/control
|
||||
if [ $TYPE == "sdk" ]; then
|
||||
sed -i "s/sdk/SDK/" debian/DEBIAN/control
|
||||
sed -i "s/normal/sdk/" debian/DEBIAN/control
|
||||
sed -i "s/SDK/normal/" debian/DEBIAN/control
|
||||
fi
|
||||
exit 0
|
||||
}
|
||||
|
4
debian/DEBIAN/control
vendored
4
debian/DEBIAN/control
vendored
@ -5,8 +5,8 @@ Section: web
|
||||
Homepage: https://nwjs.io/
|
||||
Priority: optional
|
||||
Provides: nw.js
|
||||
Conflicts: nw.js-sdk
|
||||
Replaces: nw.js-sdk
|
||||
Conflicts: nw.js
|
||||
Replaces: nw.js
|
||||
Description: Debian package for the NW.js runtime.
|
||||
Built using official "normal" binaries from https://nwjs.io
|
||||
Architecture: ARCH
|
||||
|
Loading…
x
Reference in New Issue
Block a user