Changeset 7264 for n4d-nfs


Ignore:
Timestamp:
May 8, 2018, 1:52:32 PM (16 months ago)
Author:
hectorgh
Message:

adding or true and an echo to inform the user export options are being modified

Location:
n4d-nfs/trunk/fuentes/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • n4d-nfs/trunk/fuentes/debian/changelog

    r7260 r7264  
     1n4d-nfs (0.6.5) xenial; urgency=high
     2
     3  * Added echo and or true in postinst process
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Tue, 08 May 2018 13:50:53 +0200
     6
    17n4d-nfs (0.6.4) xenial; urgency=high
    28
  • n4d-nfs/trunk/fuentes/debian/postinst

    r7260 r7264  
    2525        n4d-modules enable-plugin /etc/n4d/conf.d/NfsManager || true
    2626
    27         if dpkg --compare-versions "$2" lt 0.6.4; then
     27        if dpkg --compare-versions "$2" lt 0.6.5; then
    2828                EXPORTS_FILE="/etc/exports.d/net.exports"
    2929                if [ -e "$EXPORTS_FILE" ]; then
     
    3131                        grep "async" "$EXPORTS_FILE" 1> /dev/null || rc=1
    3232                        if [ $rc -eq 1  ]; then
    33                                 python -c "import imp;imp.load_source('NfsManager','/usr/share/n4d/python-plugins/NfsManager.py').NfsManager().fix_async()"
     33                                echo "[NfsManager] Replacing sync with async in export options..."
     34                                python -c "import imp;imp.load_source('NfsManager','/usr/share/n4d/python-plugins/NfsManager.py').NfsManager().fix_async()" || true
    3435                                # let's not restart nfs server for now
    3536                        fi
Note: See TracChangeset for help on using the changeset viewer.