diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-08-02 00:42:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-08-02 00:42:18 +0900 |
commit | ed3904e5ed6b37c34d03c182df0534c2ae9f5fb1 (patch) | |
tree | 158a1146e9f71720931f2051959435a7dd5c4687 /ubuntu/maverick/applications | |
parent | 979a963690b573ae42f0fc43c356de3136a95438 (diff) | |
download | tde-packaging-ed3904e5ed6b37c34d03c182df0534c2ae9f5fb1.tar.gz tde-packaging-ed3904e5ed6b37c34d03c182df0534c2ae9f5fb1.zip |
Fixed location of installed Python scripts in Debian/Ubuntu distros. This should resolve bug 1146.
Diffstat (limited to 'ubuntu/maverick/applications')
-rwxr-xr-x | ubuntu/maverick/applications/fusion-icon/debian/rules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/fusion-icon/debian/rules b/ubuntu/maverick/applications/fusion-icon/debian/rules index 88040a563..3fe3dd8ea 100755 --- a/ubuntu/maverick/applications/fusion-icon/debian/rules +++ b/ubuntu/maverick/applications/fusion-icon/debian/rules @@ -14,8 +14,17 @@ binary-install/fusion-icon-trinity:: mkdir -p debian/fusion-icon-trinity/usr/local/lib cp -Rp debian/fusion-icon-trinity/usr/local/* debian/fusion-icon-trinity/usr/ rm -rf debian/fusion-icon-trinity/usr/local + mkdir -p debian/fusion-icon-trinity/temp + mv debian/fusion-icon-trinity/usr/lib debian/fusion-icon-trinity/temp mkdir -p debian/fusion-icon-trinity/opt/trinity cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/ rm -rf debian/fusion-icon-trinity/usr dh_pysupport -pfusion-icon-trinity + ### + # Must be done after invoking dh_pysupport, otherwise python scripts will + # end up in /usr/share/pyshare instead of dist-packages + mkdir -p debian/fusion-icon-trinity/usr + mv debian/fusion-icon-trinity/temp/lib debian/fusion-icon-trinity/usr + rm -rf debian/fusion-icon-trinity/temp + ### dh_icons |