View Single Post
Posts: 55 | Thanked: 14 times | Joined on Dec 2011
#25
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}"'}'
}