From bfcea0c92922e307d726fcf9d84a6e415e57283f Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 11 Oct 2011 18:22:00 +0200 Subject: moved scripts/ranger to ranger/data/ranger This way, the user gets an extra copy of the executable in case the one in /usr/bin/ is lost. Also, we don't waste one directory at the root level for just one symlink. --- ranger/data/ranger | 1 + scripts/ranger | 1 - setup.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 120000 ranger/data/ranger delete mode 120000 scripts/ranger diff --git a/ranger/data/ranger b/ranger/data/ranger new file mode 120000 index 00000000..99d43c63 --- /dev/null +++ b/ranger/data/ranger @@ -0,0 +1 @@ +../../ranger.py \ No newline at end of file diff --git a/scripts/ranger b/scripts/ranger deleted file mode 120000 index 21b7d3ee..00000000 --- a/scripts/ranger +++ /dev/null @@ -1 +0,0 @@ -../ranger.py \ No newline at end of file diff --git a/setup.py b/setup.py index e93b092a..ec782794 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ if __name__ == '__main__': author_email=ranger.__email__, license=ranger.__license__, url='http://savannah.nongnu.org/projects/ranger', - scripts=['scripts/ranger'], + scripts=['ranger/data/ranger'], data_files=[('share/man/man1', ['doc/ranger.1'])], package_data={'ranger': ['data/*', 'defaults/rc.conf']}, packages=('ranger', -- cgit 1.4.1-2-gfad0