Changeset 2076 for zero-lliurex-adobeair/trunk/fuentes
- Timestamp:
- Jun 30, 2016, 10:36:23 AM (5 years ago)
- Location:
- zero-lliurex-adobeair/trunk/fuentes/zero-lliurex-adobeair.zlaunchers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-lliurex-adobeair/trunk/fuentes/zero-lliurex-adobeair.zlaunchers/zero-lliurex-adobeair-scratch2.zmd
r584 r2076 26 26 if [ "$TEST" = 'installed' ]; then 27 27 echo "Package $VERSION already installed, we have to uninstall it" 28 su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Scratch is already installed in your system, now we are goig to remove it and install it again.'" $USER28 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Scratch is already installed in your system, now we are goig to remove it and install it again.'" $USER 29 29 touch $TMP_LOG 30 30 (apt-get remove -y edu.media.mit.scratch2editor > $TMP_LOG ; rm $TMP_LOG) & … … 47 47 if [ "$TEST" != 'installed' ]; then 48 48 echo "Package $DEPENDS is not installed in your system, it's necessary........ we'll do it" 49 su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Package $DEPENDS is not installed in your system, it is necessary........ we are goig to do it'" $USER49 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Package $DEPENDS is not installed in your system, it is necessary........ we are goig to do it'" $USER 50 50 /usr/share/zero-center/zmds/zero-lliurex-adobeair.zmd 51 51 else … … 85 85 then 86 86 #Problemas al instalar adobeair requieren de la creación manual de links 87 su -c "notify-send -t 800 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$MSG_BAJAR'" $USER87 su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$MSG_BAJAR'" $USER 88 88 rc=0 89 89 host $elaula || rc=1 … … 148 148 echo "Zero-center-------Your package $VERSION has been installed in your system" 149 149 echo "Zero-center-------Your package $2 has been $FINISHED in your system" >> /tmp/zero-installer.log 150 su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Your package $VERSION has been installed in your system'" $USER150 su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Your package $VERSION has been installed in your system'" $USER 151 151 zenity --info --title="Zero-installer" --text="Your package $VERSION has been installed in your system" > /dev/null 2>&1 & 152 152 else 153 153 zenity --info --title="Zero-installer" --text="Your package $VERSION has a problem to be installed in your system, please see more info at $LOG_FILE" > /dev/null 2>&1 154 su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Your package $VERSION has a problem to be installed in your system, please see more info at $LOG_FILE'" $USER154 su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Your package $VERSION has a problem to be installed in your system, please see more info at $LOG_FILE'" $USER 155 155 zero-center remove-pulsating-color zero-lliurex-adobeair-scratch2 156 156 zero-center set-non-configured zero-lliurex-adobeair-scratch2 -
zero-lliurex-adobeair/trunk/fuentes/zero-lliurex-adobeair.zlaunchers/zero-lliurex-adobeair.zmd
r585 r2076 20 20 if [ "$TEST" = 'installed' ]; then 21 21 echo "Package $PACKAGE_NAME already installed, we have to uninstall it" 22 su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$PACKAGE_NAME is already installed in your system, now we are goig to remove it and install it again.'" $USER22 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$PACKAGE_NAME is already installed in your system, now we are goig to remove it and install it again.'" $USER 23 23 touch $TMP_LOG 24 24 (apt-get remove -y $PACKAGE_NAME > $TMP_LOG ; rm $TMP_LOG) & … … 158 158 if [ $rc -eq 0 ] 159 159 then 160 #su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER160 #su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER 161 161 #Vamos a comprobar si estamos en el aula y si somos el server, para segun que caso poner el proxy para la descarga o no. 162 162 rc=0 … … 253 253 if [ $rc -eq 0 ] 254 254 then 255 #su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER255 #su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER 256 256 #Vamos a comprobar si estamos en el aula y si somos el server, para segun que caso poner el proxy para la descarga o no. 257 257 rc=0
Note: See TracChangeset
for help on using the changeset viewer.