Changeset 6797


Ignore:
Timestamp:
Feb 12, 2018, 9:49:00 AM (19 months ago)
Author:
joamuran
Message:

Fixed audacity

Location:
language-pack-lliurex-valencian/trunk/fuentes
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • language-pack-lliurex-valencian/trunk/fuentes/debian/changelog

    r6796 r6797  
     1language-pack-lliurex-valencian (0.14) xenial; urgency=high
     2
     3  * Added audacity with diversions
     4
     5 -- Jose A. Murcia <joamuran@gmail.com>  Mon, 12 Feb 2018 09:48:06 +0100
     6
    17language-pack-lliurex-valencian (0.13) xenial; urgency=high
    28
  • language-pack-lliurex-valencian/trunk/fuentes/debian/language-pack-lliurex-valencian-base.postinst

    r6369 r6797  
    5353
    5454
     55        # Diversions for Audacity
     56        ORIGINAL_AUDACITY="/usr/share/locale/ca_ES@valencia/LC_MESSAGES/audacity.mo"
     57        DIVERTED_AUDACITY="/usr/share/locale/ca_ES@valencia/LC_MESSAGES/audacity.mo.diverted"
     58        LLX_AUDACITY="/usr/share/locale/ca_ES@valencia/LC_MESSAGES/audacity-llx.mo"
     59
     60         if [ ! -L "$ORIGINAL_AUDACITY" ]; then
     61                dpkg-divert --add --package ${PKG} --rename --divert "$DIVERTED_AUDACITY" "$ORIGINAL_AUDACITY"
     62                ln -s "$LLX_AUDACITY" "$ORIGINAL_AUDACITY"
     63
     64        fi
     65
    5566
    5667
  • language-pack-lliurex-valencian/trunk/fuentes/debian/language-pack-lliurex-valencian-base.prerm

    r6368 r6797  
    4343
    4444
     45        # Diversions for Audacity
     46        ORIGINAL_AUDACITY="/usr/share/locale/ca_ES@valencia/LC_MESSAGES/audacity.mo"
     47        DIVERTED_AUDACITY="/usr/share/locale/ca_ES@valencia/LC_MESSAGES/audacity.mo.diverted"
     48        LLX_AUDACITY="/usr/share/locale/ca_ES@valencia/LC_MESSAGES/audacity-llx.mo"
     49
     50         if [ ! -L "$ORIGINAL_AUDACITY" ]; then
     51                rm -rf "$ORIGINAL_AUDACITY" || true
     52                dpkg-divert --remove --package ${PKG} --rename --divert "$DIVERTED_AUDACITY" "$ORIGINAL_AUDACITY"
     53
     54        fi
    4555
    4656
Note: See TracChangeset for help on using the changeset viewer.