From: Alan Kennedy Date: Sun, 24 Oct 2004 03:47:16 +0000 (+0000) Subject: Creo el directorio hidden en el home y sus childs lock y conf X-Git-Tag: svn_import~83 X-Git-Url: https://git.llucax.com/z.facultad/75.08/llamadas.git/commitdiff_plain/1997d9c212fbe96bbdc289e55da674c56963f118?ds=inline Creo el directorio hidden en el home y sus childs lock y conf --- diff --git a/afinstal b/afinstal index f803f7d..72b55aa 100755 --- a/afinstal +++ b/afinstal @@ -261,6 +261,15 @@ if [ ! -f "$CONFFILE" ] || [ ! -s "$CONFFILE" ]; then echo "" >> $CONFFILE done fi +if [ ! -f "$HOME/.antifraude" ]; then + mkdir -p "$HOME/.antifraude" +fi +if [ ! -f "$HOME/.antifraude/lock" ]; then + mkdir -p "$HOME/.antifraude/lock" +fi +if [ ! -f "$HOME/.antifraude/conf" ]; then + mkdir -p "$HOME/.antifraude/conf" +fi # Comienzo la instalacion de cada componente comandos=`echo $toinstall | sed s%,%" "%g`