Commit f45659ca authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #1152 from jam7/update-postinstall-process

Update postinstall process
parents dcda8c08 ce7b0915
...@@ -459,8 +459,8 @@ def build_and_preconfigure (target_dir) ...@@ -459,8 +459,8 @@ def build_and_preconfigure (target_dir)
end end
end end
def post_install (target_dir) def post_install (dest_dir)
Dir.chdir target_dir do Dir.chdir dest_dir do
puts "Performing post-install..." puts "Performing post-install..."
@pkg.postinstall @pkg.postinstall
end end
...@@ -652,7 +652,7 @@ def install ...@@ -652,7 +652,7 @@ def install
install_package dest_dir install_package dest_dir
# perform post-install process # perform post-install process
post_install target_dir post_install dest_dir
end end
#add to installed packages #add to installed packages
......
...@@ -79,7 +79,7 @@ class Package ...@@ -79,7 +79,7 @@ class Package
end end
# Function to perform post-install for all even if it is a fake package. # Function to perform post-install for both source build and binary distribution
def self.postinstall def self.postinstall
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment