Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 331

Ver diferencias:

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

Exportar a: Unified diff