Skip to content

Commit

Permalink
A note about the choice of /opt
Browse files Browse the repository at this point in the history
  • Loading branch information
wallrj committed Oct 16, 2014
1 parent d586f0a commit 75725ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/packaging.py
Expand Up @@ -328,7 +328,8 @@ def sumo_rpm_builder(destination_path, package_uri, target_dir=None):
"""
if target_dir is None:
target_dir = FilePath(mkdtemp())

# Flocker is installed in /opt.
# See http://fedoraproject.org/wiki/Packaging:Guidelines#Limited_usage_of_.2Fopt.2C_.2Fetc.2Fopt.2C_and_.2Fvar.2Fopt
virtualenv_dir = target_dir.descendant(['opt', 'flocker'])
virtualenv_dir.makedirs()

Expand Down

0 comments on commit 75725ee

Please sign in to comment.