Permalink
Browse files

Fix the fakeroot task. Issue #592.

  • Loading branch information...
1 parent 5b30a81 commit 13d8421a3c8e17f7664d45721c3b59da745695cb @FooBarWidget FooBarWidget committed Dec 11, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/phusion_passenger.rb
View
@@ -49,6 +49,8 @@ def self.natively_packaged?
NATIVELY_PACKAGED_SOURCE_ROOT = "/usr/share/phusion-passenger/source"
NATIVELY_PACKAGED_DOCDIR = "/usr/share/doc/phusion-passenger"
NATIVELY_PACKAGED_RESOURCES_DIR = "/usr/share/phusion-passenger"
+ NATIVELY_PACKAGED_AGENTS_DIR = "/usr/lib/phusion-passenger/agents"
+ NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR = "/usr/share/phusion-passenger/helper-scripts"
NATIVELY_PACKAGED_APACHE2_MODULE = "/usr/lib/apache2/modules/mod_passenger.so"
# Directory containing the Phusion Passenger Ruby libraries.
@@ -81,6 +83,10 @@ def self.natively_packaged?
# Directory containing Phusion Passenger resource files.
RESOURCES_DIR = File.join(SOURCE_ROOT, "resources")
+ AGENTS_DIR = File.join(SOURCE_ROOT, "agents")
+
+ HELPER_SCRIPTS_DIR = File.join(SOURCE_ROOT, "helper-scripts")
+
# Location of the Apache 2 module.
APACHE2_MODULE = File.join(SOURCE_ROOT, "ext", "apache2", "mod_passenger.so")
@@ -91,6 +97,8 @@ def self.natively_packaged?
SOURCE_ROOT = NATIVELY_PACKAGED_SOURCE_ROOT
DOCDIR = NATIVELY_PACKAGED_DOCDIR
RESOURCES_DIR = NATIVELY_PACKAGED_RESOURCES_DIR
+ AGENTS_DIR = NATIVELY_PACKAGED_AGENTS_DIR
+ HELPER_SCRIPTS_DIR = NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR
APACHE2_MODULE = NATIVELY_PACKAGED_APACHE2_MODULE
end

1 comment on commit 13d8421

kakra commented on 13d8421 Dec 11, 2010

Thank you. :-)

Please sign in to comment.