# Parameters
SHARE="$1"
+LIB="$2"
# Include basic functions
-. $SHARE/trashman/functions || exit 1
-. $SHARE/trashman/debian || exit 1
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
# Requirements
trashman_apt_install_packages python3-pip mpv
# Parameters
SHARE="$1"
+LIB="$2"
# Include basic functions
-. $SHARE/trashman/functions || exit 1
-. $SHARE/trashman/debian || exit 1
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
# Requirements
trashman_apt_install_packages python-pip python-dev libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
fi
# Run action for package
- $SHARE/$package/$folder/$ACTION $SHARE
+ $SHARE/$package/$folder/$ACTION $SHARE $LIB
trashman_check_exit_status $ACTION $?
else
trashman_echo "No such action $ACTION for package $package, skipping"