

	   if test x$(USERID) = x0 ; then \
	    for USER in ${USERS} ; do \
             echo USER $$USER; \
	     if test -d /home/$$USER ; then \
	      echo BUENUSER $$USER; \
              ESUSER=`grep "^$$USER:" /etc/passwd| awk -F' ' '{print $$1}'`;\
	      echo BUENUSER $$USER $$ESUSER; \
	      if test x"$$ESUSER" != x ; then \
                if  test  \( x"${UBUNTU}" = x \) -o \( x"$$FILE" = x"./launchers/Simusol-Manual.desktop" \) -o \( x"$$FILE" = x"./launchers/Simusol-Tutorial.desktop" \) -o \( x"$$FILE" = x"./launchers/Simusol-Sceptre-Manual.desktop" \) ; then \
		 echo "KKKKK ${UBUNTU} - $$FILE" ;\
	         su $$USER -c "xdg-desktop-icon install ${PREFIXP}/share/simusol/$$FILE";\
	         echo "su $$USER -c xdg-desktop-icon install ${PREFIXP}/share/simusol/$$FILE";\
	         if test -d /home/$$USER/Escritorio ; then \
	             if test -d /home/$$USER/Desktop ; then \
                         FILEP=`echo -n $$FILE|sed -e  's/\.\/launchers\///' ` ;\
                         echo  su $$USER -c cp  /home/$$USER/Desktop/$$FILEP /home/$$USER/Escritorio;\
	                 su $$USER -c "cp  /home/$$USER/Desktop/$$FILEP /home/$$USER/Escritorio" ;\
			fi; \
	             fi; \
		 mkdir -p /home/$$USER/simusol_ejemplos; \
		 cp -r ${PREFIXP}/share/simusol/examples/projects/* /home/$$USER/simusol_ejemplos;  \
		 chown -R $$USER /home/$$USER/simusol_ejemplos ;\
		fi; \
	        if  test x"$$UBUNTU" != x ; then \
			APPS=`gsettings get com.canonical.Unity.Launcher favorites`; \
			echo APPS UNITY $$APPS; \
			NAPPS="'application:\/\/gnome-terminal.desktop', 'application:\/\/dia.desktop',";\
			MAPPS=`echo -n $$APPS |sed -e"s/$$NAPPS//g"` ;\
			echo MAPPS UNITY $$MAPPS; \
			NNAPSS=`echo -n $$MAPPS |sed -e"s/\[/\[$$NAPPS/" ` ;\
			gsettings set com.canonical.Unity.Launcher favorites "$$NNAPSS" ;\
		fi;\
	       fi;\
	      fi;\
	     done;\
	    else \
	        xdg-desktop-icon install ${PREFIXP}/share/simusol/$$FILE;\
		echo UNSOLO $$USER ;\
	        if test -d ~/Escritorio ; then \
	             if test -d ~/Desktop ; then \
			 FILEP=`echo -n $$FILE|sed -e  's/\.\/launchers\///' ` ;\
	                 cp  ~/Desktop/$$FILEP ~/Escritorio ;\
	                 fi; \
	            fi; \
	    fi;\