#!/bin/bash set -e . /usr/share/debconf/confmodule db_get solaar/use_plugdev_group CONFIG=/etc/default/solaar if [ ! -f "$CONFIG" ]; then printf '# If true, users in the plugdev group will be able to use Solaar\n' > "$CONFIG" printf '# If uaccess is supported, the current console user will also have access\n' >> "$CONFIG" printf 'USE_PLUGDEV_GROUP="%s"\n' "$RET" >> "$CONFIG" fi # Automatically added by dh_python3 if command -v py3compile >/dev/null 2>&1; then py3compile -p solaar /usr/share/solaar/lib || true fi if command -v pypy3compile >/dev/null 2>&1; then pypy3compile -p solaar /usr/share/solaar/lib || true fi # End automatically added section