]> git.phdru.name Git - extfs.d.git/blobdiff - dummy
Documented the fact that the script can be put in $HOME/.mc/extfs.d
[extfs.d.git] / dummy
diff --git a/dummy b/dummy
index 30b0188f7e8ea6fe43cd51fae6120f7334300c81..43a7e697aa426054f9d2a51c67ea37d94f94f0cc 100755 (executable)
--- a/dummy
+++ b/dummy
@@ -1,19 +1,10 @@
-#! /usr/local/bin/python -O
+#! /usr/bin/env python
+"""Dummy VFS for Midnight Commander. Just for a test."""
 
-"""
-Dummy VFS for Midnight Commander. Just for a test.
-
-Author: Oleg BroytMann <phd@phd.pp.ru>.
-Copyright (C) 2004 PhiloSoft Design.
-License: GPL.
-
-"""
-
-__version__ = "1.0.1"
-__revision__ = "$Id: dummy,v 1.9 2004/06/13 20:49:36 phd Exp $"
-__date__ = "$Date: 2004/06/13 20:49:36 $"[7:-2]
-__author__ = "Oleg Broytmann <phd@phd.pp.ru>"
-__copyright__ = "Copyright (C) 2004 PhiloSoft Design"
+__version__ = "1.0.3"
+__author__ = "Oleg Broytman <phd@phdru.name>"
+__copyright__ = "Copyright (C) 2004-2013 PhiloSoft Design"
+__license__ = "GPL"
 
 
 import sys
@@ -29,7 +20,7 @@ def error(msg):
 if len(sys.argv) < 2:
    error("""\
 It is not a program - it is a dummy VFS for Midnight Commander.
-Put it in /usr/lib/mc/extfs.""")
+Put it in $HOME/.mc/extfs.d or /usr/lib/mc/extfs.""")
 
 
 def mcdummy_list():