Permalink
Browse files

Updated modules URL

  • Loading branch information...
tomas committed Jun 25, 2012
1 parent f787729 commit 480ae1e26d166adc393e7761a638d84e00e7f096
Showing with 3 additions and 3 deletions.
  1. +1 −1 core/setup
  2. +2 −2 core/updater
View
@@ -113,7 +113,7 @@ set_constants(){
readonly logged_user
readonly control_panel_url="https://control.preyproject.com" 2> /dev/null
- modules_url=$control_panel_url 2> /dev/null
+ modules_url="http://cloud.github.com/downloads/prey/prey-bash-client-modules" 2> /dev/null
updates_url="http://cloud.github.com/downloads/prey/prey-bash-client" 2> /dev/null
}
View
@@ -348,8 +348,8 @@ restore_config(){
####################################################################
get_module(){
- rm "$module_file" 2> /dev/null
- getter -u $api_key:x "$modules_url/modules/$1.zip" -o "$module_file" 2> /dev/null
+ rm -f "$module_file" 2> /dev/null
+ getter "${modules_url}/$1.zip" -o "$module_file" 2> /dev/null
}
install_or_update_module(){

0 comments on commit 480ae1e

Please sign in to comment.