Ignore:
Timestamp:
Sep 21, 2017, 12:32:28 PM (2 years ago)
Author:
hectorgh
Message:

adding libreoffice fix to remove file locking functionality

Location:
lliurex-artwork-defaults/trunk/fuentes
Files:
2 added
4 edited

Legend:

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

    r5295 r5895  
     1lliurex-artwork-defaults (5.4.3) xenial; urgency=high
     2
     3  * Forcing libreoffice not to use file lock functionality
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Thu, 21 Sep 2017 12:29:06 +0200
     6
    17lliurex-artwork-defaults (5.4.2) xenial; urgency=medium
    28
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-aula.install

    r1761 r5895  
     1libreoffice-fix/*       /usr/bin/
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-aula.postinst

    r2298 r5895  
    1818                /usr/share/backgrounds/lliurex/lliurex16-classroom-HD.png 700
    1919
     20        PKG="lliurex-artwork-defaults-aula"
     21
     22        ORIGINAL_LO_FILE="/usr/bin/libreoffice"
     23        NEW_DIVERTED_LO_FILE="/usr/bin/libreoffice.diverted"
     24        LLIUREX_FILE="/usr/bin/libreoffice-nolock"
     25
     26        if [ ! -L "$ORIGINAL_LO_FILE" ]; then
     27
     28                dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_LO_FILE" "$ORIGINAL_LO_FILE"
     29                ln -s "$LLIUREX_ES_FILE" "$ORIGINAL_WHISKER_ES_FILE"
     30
     31        fi
     32
    2033fi
    2134
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-aula.prerm

    r2298 r5895  
    1212
    1313
     14        PKG="lliurex-artwork-defaults-aula"
    1415
     16        ORIGINAL_LO_FILE="/usr/bin/libreoffice"
     17        NEW_DIVERTED_LO_FILE="/usr/bin/libreoffice.diverted"
     18        LLIUREX_FILE="/usr/bin/libreoffice-nolock"
     19
     20        if [ -L "$ORIGINAL_LO_FILE" ]; then
     21                rm -rf "$ORIGINAL_LO_FILE" || true
     22                dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_LO_FILE" "$ORIGINAL_LO_FILE"
     23
     24        fi
    1525
    1626fi
Note: See TracChangeset for help on using the changeset viewer.