#!/bin/bash
cd ~
[ "${RUN_TYPE}" == "" ] && exit 0
[ -d ~/.config/pardus/first-run/ ] || mkdir -p ~/.config/pardus/first-run
if [ ! -f ~/.config/pardus/first-run/${RUN_TYPE} ] ; then
    export PARDUS_FIRST_RUN=1
    date "+%s" > ~/.config/pardus/first-run/${RUN_TYPE}
fi
cd 
for i in $(ls "/usr/share/pardus/pardus-configure/scripts/${RUN_TYPE}") ; do
    source "/usr/share/pardus/pardus-configure/scripts/${RUN_TYPE}/$i"
done
cd ~
