post_install() {
sed -i \
    -e '/^\(MOZ_USE_XINPUT2 DEFAULT=\).*/{s//\1'1'/;:a;n;ba;q}' \
    -e '$aMOZ_USE_XINPUT2 DEFAULT=1' /etc/security/pam_env.conf
}

post_upgrade() {
        post_install
}