#!/bin/bash
#test if file already exists
#if yes, then launch

if (test -e $HOME/.wmapplrc) then
         exec wmappl-bin

#if no, get /usr/share/wmapplrc-default and copy to $HOME
else
        cp /usr/share/wmappl/wmapplrc-default  $HOME/.wmapplrc
        exec wmappl-bin
fi
