aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-27 01:47:58 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-27 01:47:58 +0200
commit6431e38e4d96c2d3b09b4d4c19ffb67be45bddc2 (patch)
tree007659b7b4d0a573ddd3cdf980ca2c99a37c19d3
parentf0fcdd7903f3c880214513871442b48f94493d85 (diff)
downloadponysay-6431e38e4d96c2d3b09b4d4c19ffb67be45bddc2.tar.gz
ponysay-6431e38e4d96c2d3b09b4d4c19ffb67be45bddc2.tar.bz2
ponysay-6431e38e4d96c2d3b09b4d4c19ffb67be45bddc2.zip
symlinking as standard rather tham hardlinking, otherwise ±L does nothing special
-rw-r--r--manuals/ponysay.texinfo5
-rwxr-xr-xsetup.py4
2 files changed, 6 insertions, 3 deletions
diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo
index 7e04ecf..2effc8b 100644
--- a/manuals/ponysay.texinfo
+++ b/manuals/ponysay.texinfo
@@ -1013,13 +1013,16 @@ Set the system's directory for cache directories.
@cindex @option{--dest-dir}
Set off environment for installation.
-@item --linking=hard
+@item --linking=symbolic
@cindex @option{--linking}
Set how to link identical files. Directories cannot be hard linked on most
systems, therefore directories or always symbolically linked of hard linked
is specified.
Recognised arguments are @code{copy}, @code{hard} and @code{symbolic}.
@code{copy} implies that files and directories are not linked, but duplicated.
+@command{ponysay ±L} will give the same output as @command{ponysay ±l} if @code{copy}
+or @code{hard} is used. This is because it does link reading and not content or
+inode comparison.
@end table
Recognised compressions are @option{gz} which uses @option{gzip -9}, and @option{xz}
diff --git a/setup.py b/setup.py
index a51d848..c511e44 100755
--- a/setup.py
+++ b/setup.py
@@ -126,13 +126,13 @@ class Setup():
opts.add_argumented (help = 'Set off environment for installation\nEmpty by default', alternatives = ['--dest-dir'], arg='DESTDIR')
- opts.add_argumented (help = 'Set how to link identical files\nDefault = hard, copy and symbolic are also recognised', alternatives = ['--linking'], arg='TYPE')
+ opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised', alternatives = ['--linking'], arg='TYPE')
opts.parse()
- self.linking = HARD
+ self.linking = SYMBOLIC
if opts.opts['--linking'] is not None:
self.linking = opts.opts['--linking'][0]