which is not a builtin
This commit is contained in:
parent
a1f8c5b55f
commit
03d29593f5
2
sup
2
sup
|
@ -49,7 +49,7 @@ sup.mktemp() {
|
||||||
sup.scrot() {
|
sup.scrot() {
|
||||||
local tmp_file
|
local tmp_file
|
||||||
|
|
||||||
[[ "$scrot_exec" ]] || { scrot_exec=`which scrot`; }
|
[[ "$scrot_exec" ]] || { scrot_exec=`type -P scrot`; }
|
||||||
[[ "$scrot_exec" ]] || {
|
[[ "$scrot_exec" ]] || {
|
||||||
sup.err "Please install scrot to use this function"
|
sup.err "Please install scrot to use this function"
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user