Folder preparation:
mkdir extract
mkdir extract/DEBIAN
mkdir build
Extract package content:
dpkg -X YOUR_DEB_FILE_NAME extract/
Extract control information:
dpkg -e YOUR_DEB_FILE_NAME extract/DEBIAN/
Do whatever you want to the package, and repack:
dpkg-deb -b extract/ build/
最后一次更新于2020-06-03
0 comment