Fix software-install.sh to use the GNU version of readlink.
This commit is contained in:
parent
91c5e42803
commit
3e073236db
|
@ -63,7 +63,7 @@ EOF
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
# Some tools require root set-UID
|
# Some tools require root set-UID
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
xargs -n1 -I % bash -c 'find $(dirname $(readlink -f $(which %))) -name $(basename $(which %)) -type f ! \( -perm -u+s -a -user root \) ' <<EOF | xargs -n 1 -I % sudo bash -c 'chown root: % && chmod u+s %'
|
xargs -n1 -I % bash -c 'find $(dirname $(greadlink -f $(which %))) -name $(basename $(which %)) -type f ! \( -perm -u+s -a -user root \) ' <<EOF | xargs -n 1 -I % sudo bash -c 'chown root: % && chmod u+s %'
|
||||||
htop
|
htop
|
||||||
EOF
|
EOF
|
||||||
#-------------------------------
|
#-------------------------------
|
||||||
|
|
Loading…
Reference in a new issue