#!/bin/sh # # This trigger is obsolete in xbps>=0.18. # # Enables or disables a virtual package to xbps.conf. # # Arguments: $ACTION = [run/targets] # $TARGET = [post-install/pre-remove] # $PKGNAME # $VERSION # $UPDATE = [yes/no] # ACTION="$1" TARGET="$2" PKGNAME="$3" VERSION="$4" UPDATE="$5" CONF_FILE="$6" export PATH="$PATH:/usr/local/bin" case "$ACTION" in targets) echo "post-install post-remove" ;; run) # Do nothing, keep it just for compatibility. ;; *) exit 1 ;; esac exit 0