Changeset 6132


Ignore:
Timestamp:
Oct 31, 2017, 1:27:26 PM (2 years ago)
Author:
hectorgh
Message:

added 50-rm-system-services diversion

Location:
lmd-client/trunk/fuentes/debian
Files:
2 edited

Legend:

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

    r512 r6132  
    5050        dpkg-divert --package $PACKAGE_NAME --rename --quiet --add --divert  $NEW_FILE  $ORIGINAL_FILE
    5151        cp -a "$LLIUREX_FILE"  "$ORIGINAL_FILE"
     52       
     53        ORIGINAL_FILE="/usr/share/ltsp/init-ltsp.d/50-rm-system-services"
     54        NEW_FILE="/usr/share/ltsp/init-ltsp.d.diversions/50-rm-system-services.diverted"
     55        LLIUREX_FILE="/usr/share/ltsp/init-ltsp.d.diversions/050-rm-system-services.lliurex"
     56
     57        dpkg-divert --package $PACKAGE_NAME --rename --quiet --add --divert  $NEW_FILE  $ORIGINAL_FILE
     58        cp -a "$LLIUREX_FILE"  "$ORIGINAL_FILE"
    5259
    5360        ORIGINAL_FILE="/usr/share/ltsp/screen.d/ldm"
  • lmd-client/trunk/fuentes/debian/lmd-client.prerm

    r512 r6132  
    4444        rm -f "$ORIGINAL_FILE"
    4545        dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove $ORIGINAL_FILE || true
     46       
     47        ORIGINAL_FILE="/usr/share/ltsp/init-ltsp.d/50-rm-system-services"
     48       
     49        rm -f "$ORIGINAL_FILE"
     50        dpkg-divert --package $PACKAGE_NAME --rename --quiet --remove $ORIGINAL_FILE || true
    4651
    4752        ORIGINAL_FILE="/usr/share/ltsp/screen.d/ldm"
Note: See TracChangeset for help on using the changeset viewer.