mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-07 03:13:25 +00:00
update debscripts for compatibility with pacman format
This commit is contained in:
@@ -97,7 +97,7 @@ termux_step_create_debscripts() {
|
||||
cat <<- PRERM_EOF > ./prerm
|
||||
#!$TERMUX_PREFIX/bin/sh
|
||||
|
||||
if [ "\$1" != "remove" ]; then
|
||||
if [ "$TERMUX_PACKAGE_FORMAT" != "pacman" ] && [ "\$1" != "remove" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user