#!/usr/bin/env sh

lensfun-update-data

if [ $? -eq 2 ] ; then
    /usr/bin/xdg-su lensfun-update-data
fi
