Changeset 8756 for lmd-client


Ignore:
Timestamp:
Oct 25, 2019, 10:49:57 AM (7 months ago)
Author:
hectorgh
Message:

adding update-kernels diversion

Location:
lmd-client/trunk/fuentes
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • lmd-client/trunk/fuentes/debian/lmd-client.postinst

    r6150 r8756  
    6565        cp -a "$LLIUREX_FILE"  "$ORIGINAL_FILE"
    6666
     67        ORIGINAL_FILE="/usr/share/ltsp/update-kernels"
     68        NEW_FILE="/usr/share/ltsp/update-kernels.diverted"
     69        LLIUREX_FILE="/usr/share/ltsp/update-kernels.lliurex"
     70
     71        dpkg-divert --package $PACKAGE_NAME --rename --quiet --add --divert  $NEW_FILE  $ORIGINAL_FILE
     72        cp -a "$LLIUREX_FILE"  "$ORIGINAL_FILE"
     73
     74
     75
    6776    ;;
    6877
  • lmd-client/trunk/fuentes/debian/lmd-client.prerm

    r6132 r8756  
    5555        dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove $ORIGINAL_FILE || true
    5656
     57
     58        ORIGINAL_FILE="/usr/share/ltsp/update-kernels"
     59        rm -f "$ORIGINAL_FILE"
     60        dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove $ORIGINAL_FILE || true
     61
     62
    5763    ;;
    5864
Note: See TracChangeset for help on using the changeset viewer.