This commit is contained in:
DarkFeather 2017-05-02 11:20:06 -05:00
parent f3c07b7c3a
commit 95419497e2
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ repository: shadowarch
cp ./shadowarch ${HTTPROOT}
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
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

View File

@ -38,7 +38,7 @@ IFS="
"
# 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";
done