diff --git a/set_perms.sh b/set_perms.sh index e947ce47c..c0c0053ea 100755 --- a/set_perms.sh +++ b/set_perms.sh @@ -9,11 +9,10 @@ fi cp $TESTING_PATH/nzb-importmodified.php $NEWZPATH/www/admin/ if [ -d "/home/$USERNAME" ]; then + $SED -i -e "s/'changeme',1/'$NZBPATH',0/" conf/.tmux.conf cp conf/.tmux.conf /home/$USERNAME/.tmux.conf fi -cp conf/.tmux.conf /home/$USERNAME/.tmux.conf -$SED -i -e "s/'changeme',1/'$NZBPATH',0/" conf/.tmux.conf $SED -i -e 's/$this->processAdditional();/\/\/$this->>processAdditional();/' $NEWZPATH/www/lib/postprocess.php $SED -i -e 's/$this->processNfos();/\/\/$this->processNfos();/' $NEWZPATH/www/lib/postprocess.php $SED -i -e 's/$this->processUnwanted();/\/\/$this->processUnwanted();/' $NEWZPATH/www/lib/postprocess.php