minishouyin/node_modules/app-builder-lib/templates/linux/after-remove.tpl
2025-11-12 11:35:57 +08:00

9 lines
212 B
Smarty

#!/bin/bash
# Delete the link to the binary
if type update-alternatives >/dev/null 2>&1; then
update-alternatives --remove '${executable}' '/usr/bin/${executable}'
else
rm -f '/usr/bin/${executable}'
fi