View Single Post
Marcus's Avatar
Posts: 173 | Thanked: 72 times | Joined on Mar 2010 @ Denmark
#26
Originally Posted by Lovsan View Post
hmm, im trying to get this to run in N9

are any of the required Dependencies in n9 By Default?

im getting these errors when trying to run the prey.sh

line161, shopt not found /opt/share/prey/core/setup

Code:
set_aliases(){
	shopt -s expand_aliases
	alias getter="curl $curl_options -s \"$user_agent\""
	alias mailsender="sendEmail"
}
so i suppose that some curl stuff is missing.

line78, Syntax error: Bad Substitution /opt/share/prey/core/functions

Code:
]get_var(){
	HASH="$1[*]"
	local ${!HASH} - line78
	eval 'echo ${'"${2}"'}'
}
I'm afraid that I do not have any access to a N9, so I can't help you out there buddy - but yes, seems that shopt is missing.

After new years eve, I'll most likely optimize all of this, to see what I can do better.

Last edited by Marcus; 2011-12-31 at 11:42.
 

The Following User Says Thank You to Marcus For This Useful Post: