Cleanup
This commit is contained in:
parent
f3c07b7c3a
commit
95419497e2
@ -15,6 +15,7 @@ repository: shadowarch
|
|||||||
cp ./shadowarch ${HTTPROOT}
|
cp ./shadowarch ${HTTPROOT}
|
||||||
|
|
||||||
checkperm: ${SYNCLIST}
|
checkperm: ${SYNCLIST}
|
||||||
|
printf "What is your deprivileged user? "; read user; chown -R ${user}:${user} .
|
||||||
if [ -f ${HTTPROOT}/shadowarch ]; then chmod 0755 ${HTTPROOT}/shadowarch; chown ${HTTPUSER} ${HTTPROOT}/shadowarch; fi
|
if [ -f ${HTTPROOT}/shadowarch ]; then chmod 0755 ${HTTPROOT}/shadowarch; chown ${HTTPUSER} ${HTTPROOT}/shadowarch; fi
|
||||||
chown -R root:root ${SYNCLIST}
|
chown -R root:root ${SYNCLIST}
|
||||||
for i in ${SYNCLIST}; do if [ -f "${i}" ]; then chmod 0644 "${i}"; elif [ -d "${i}" ]; then chmod 0755 "${i}"; fi; done
|
for i in ${SYNCLIST}; do if [ -f "${i}" ]; then chmod 0644 "${i}"; elif [ -d "${i}" ]; then chmod 0755 "${i}"; fi; done
|
||||||
|
@ -38,7 +38,7 @@ IFS="
|
|||||||
"
|
"
|
||||||
|
|
||||||
# Irssi
|
# Irssi
|
||||||
for i in `ls -d ~/.irssi-*`; do
|
for i in `ls -d ~/.irssi-* 2>/dev/null`; do
|
||||||
alias `echo $i | cut -f 2 -d '-' | tr '[:upper:]' '[:lower:]'`="irssi --home=$i";
|
alias `echo $i | cut -f 2 -d '-' | tr '[:upper:]' '[:lower:]'`="irssi --home=$i";
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user