Modding Debian binary packages

The problem Debian binary packages often require dependency patching, especially when installing on different Linux distributions. The script #!/bin/bash if [ " $# " -ne 1 ] ; then echo "Usage: $0 <package.deb>" exit 1 fi INPUT_DEB = " $1 " if [ ! -f " $INPUT_DEB " ] ; then echo "Error: File $INPUT_DEB not found." exit 1 fi PACKAGE_NAME = $( basename " $INPUT_DEB " .deb ) TMP_DIR = $( mktemp -d )…