Browse files

add hint to uninstall_wrapper when wrapper seems to be installed

  • Loading branch information...
1 parent 3ff2d0b commit 1a3162b039e2b42d23e39d84e5d9d199f2d89198 @darwin darwin committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 ctl/cmd/install_wrapper.rb
  2. +1 −1 sparkle
@@ -1,7 +1,7 @@
def cmd_install_wrapper(options)
force = options[:force]
sys("sudo rm -rf \"#{DS_LIB_RELOCATED_FOLDER}\"") if File.exists? DS_LIB_RELOCATED_FOLDER and force
- die("wrapper framework seems to be installed (#{DS_LIB_RELOCATED_FOLDER} exists)") if File.exists? DS_LIB_RELOCATED_FOLDER
+ die("wrapper framework seems to be installed (#{DS_LIB_RELOCATED_FOLDER} exists), to reinstall please run: \"asepsisctl uninstall_wrapper\" first") if File.exists? DS_LIB_RELOCATED_FOLDER
# replace DesktopServicesPriv inplace
sys("sudo cp -r \"#{DS_LIB_FOLDER}\" \"#{DS_LIB_RELOCATED_FOLDER}\"")

0 comments on commit 1a3162b

Please sign in to comment.