Changeset 7001


Ignore:
Timestamp:
Mar 12, 2018, 5:18:10 PM (23 months ago)
Author:
hectorgh
Message:

diverting geogebra cron file

Location:
lliurex-artwork-defaults/trunk/fuentes/debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-artwork-defaults/trunk/fuentes/debian/changelog

    r6090 r7001  
     1lliurex-artwork-defaults (5.5.3) xenial; urgency=high
     2
     3  * Diverting geogebra cron file
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Mon, 12 Mar 2018 17:17:04 +0100
     6
    17lliurex-artwork-defaults (5.5.2) xenial; urgency=high
    28
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-common.postinst

    r5944 r7001  
    3737        DIVERTED_LO_MOD="/usr/share/lliurex-artwork-defaults/diversions/registrymodifications.xcu"
    3838        LLIUREX_LO_MOD="/usr/share/lliurex-artwork-defaults/libreoffice/registrymodifications.xcu"
     39
     40        ORIGINAL_GEOGEBRA="/etc/cron.daily/geogebra"
     41        DIVERTED_GEOGEBRA="/usr/share/lliurex-artwork-defaults/diversions/geogebra"
    3942
    4043        if [ ! -L "$ORIGINAL_WHISKER_ES_FILE" ]; then
     
    8487        fi
    8588
     89        if [ ! -e "$DIVERTED_GEOGEBRA" ]; then
     90                dpkg-divert --add --package ${PKG} --rename --divert "$DIVERTED_GEOGEBRA" "$ORIGINAL_GEOGEBRA"
     91        fi
     92
    8693
    8794        update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/mate-session 60
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-common.prerm

    r5942 r7001  
    2828        DIVERTED_LO_MOD="/usr/share/lliurex-artwork-defaults/diversions/registrymodifications.xcu"
    2929        LLIUREX_LO_MOD="/usr/share/lliurex-artwork-defaults/libreoffice/registrymodifications.xcu"
     30
     31        ORIGINAL_GEOGEBRA="/etc/cron.daily/geogebra"
     32        DIVERTED_GEOGEBRA="/usr/share/lliurex-artwork-defaults/diversions/geogebra"
    3033
    3134        if [ -L "$ORIGINAL_WHISKER_ES_FILE" ]; then
     
    7477        fi
    7578
     79        if [ -e "$DIVERTED_GEOGEBRA" ]; then
     80                dpkg-divert --remove --package ${PKG} --rename --divert "$DIVERTED_GEOGEBRA" "$ORIGINAL_GEOGEBRA"
     81        fi
     82
    7683
    7784        update-alternatives --auto x-session-manager || true
Note: See TracChangeset for help on using the changeset viewer.