Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 327

Ver diferencias:

autorename/trunk/debian/autorename-client.postinst
echo "#!/bin/sh" >> /etc/$DIR/PostLogin/Default
fi
EXISTS=`cat /etc/$DIR/PostLogin/Default | grep '/usr/share/autorename-client/client.py \$LOGNAME'` > /dev/null
if [ "$EXISTS" = "" ]; then
echo "/usr/share/autorename-client/client.py \$LOGNAME" >> /etc/$DIR/PostLogin/Default > /dev/null
fi
chmod +x /etc/$DIR/PostLogin/Default > /dev/null
#EXISTS=`cat /etc/$DIR/PostLogin/Default | grep '/usr/share/autorename-client/client.py \$LOGNAME'` > /dev/null
#if [ "$EXISTS" = "" ]; then
# echo "/usr/share/autorename-client/client.py \$LOGNAME" >> /etc/$DIR/PostLogin/Default > /dev/null
#fi
#chmod +x /etc/$DIR/PostLogin/Default > /dev/null
;;
abort-upgrade|abort-remove|abort-deconfigure)

Exportar a: Unified diff