fixes
This commit is contained in:
4
build.sh
4
build.sh
@@ -7,9 +7,9 @@ PKG_DIR="./chillcraftos-default-settings"
|
|||||||
PKG_SIZE=$(du -sk "$PKG_DIR" | cut -f1)
|
PKG_SIZE=$(du -sk "$PKG_DIR" | cut -f1)
|
||||||
|
|
||||||
# Update control file
|
# Update control file
|
||||||
sed -i "s/Installed-Size: INSTSIZE/Installed-Size: $PKG_SIZE/" "$PKG_DIR/DEBIAN/control"
|
sed -i "/^Installed-Size:/c\Installed-Size: $PKG_SIZE" "$PKG_DIR/DEBIAN/control"
|
||||||
|
|
||||||
# Build the .deb package
|
# Build the .deb package
|
||||||
dpkg-deb --build "$PKG_DIR" ../chillcraftos-default-settings.deb
|
dpkg-deb --build "$PKG_DIR" ./chillcraftos-default-settings.deb
|
||||||
|
|
||||||
echo "Package built with Installed-Size: $PKG_SIZE KB"
|
echo "Package built with Installed-Size: $PKG_SIZE KB"
|
||||||
|
Reference in New Issue
Block a user