Ignore:
Timestamp:
Jan 10, 2017, 1:19:30 PM (2 years ago)
Author:
hectorgh
Message:

diversions changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-smart/trunk/fuentes/debian/lliurex-smart.prerm

    r3189 r3223  
    1515
    1616       
    17         if [ -L "$BASH_MOD1" ]; then
     17        if [ -f "$BASH_MOD1_DIVERTED" ]; then
    1818                rm -rf "$BASH_MOD1"
    1919                dpkg-divert --remove --package ${PKG} --rename --divert "$BASH_MOD1_DIVERTED" "$BASH_MOD1"
     
    2121        fi
    2222
    23         if [ -L "$BASH_MOD2" ]; then
     23        if [ -f "$BASH_MOD2_DIVERTED" ]; then
    2424                rm -rf "$BASH_MOD2"
    2525                dpkg-divert --remove --package ${PKG} --rename --divert "$BASH_MOD2_DIVERTED" "$BASH_MOD2"
Note: See TracChangeset for help on using the changeset viewer.