diff --git a/lock/platform/linux/prey-lock b/lock/platform/linux/prey-lock index c181351..5697269 100755 --- a/lock/platform/linux/prey-lock +++ b/lock/platform/linux/prey-lock @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ############################################# # Prey Linux Lock # By Tomas Pollak - (c) 2010 Fork Ltd. diff --git a/retrieve/core/functions b/retrieve/core/functions index 9c7c1ca..dcb58fa 100644 --- a/retrieve/core/functions +++ b/retrieve/core/functions @@ -206,7 +206,7 @@ get_last_bucket_in_s3(){ upload_to_ubuntu_one(){ - [ -z "$(which python)" ] && log " -- Python interpreter not found! Cannot continue." && return 1 + [ -z "$(which python2)" ] && log " -- Python interpreter not found! Cannot continue." && return 1 local file_to_upload="$1" local credentials_file='credentialfile.txt' @@ -236,7 +236,7 @@ upload_to_ubuntu_one(){ fi - python "${module_path}/lib/u1_upload.py" "$file_to_upload" + python2 "${module_path}/lib/u1_upload.py" "$file_to_upload" rs=$? rm -f "$credentials_file" diff --git a/retrieve/lib/u1_upload.py b/retrieve/lib/u1_upload.py index 71bdbb4..df97335 100755 --- a/retrieve/lib/u1_upload.py +++ b/retrieve/lib/u1_upload.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 ############################################# # Prey Ubuntu One API # By Tomas Pollak - (c) 2011 Fork Ltd. diff --git a/retrieve/lib/u1rest/createfilekeystore.py b/retrieve/lib/u1rest/createfilekeystore.py index 27c18e7..f913571 100755 --- a/retrieve/lib/u1rest/createfilekeystore.py +++ b/retrieve/lib/u1rest/createfilekeystore.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 #Copyright (C) 2011 by John O'Brien # #Permission is hereby granted, free of charge, to any person obtaining a copy