Skip to content

Commit

Permalink
1.7.5a
Browse files Browse the repository at this point in the history
  • Loading branch information
frainzy1477 committed Jun 30, 2020
1 parent 57a4050 commit 6187c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/usr/share/clash/rule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ status=$(egrep '^ {0,}Rule:' /tmp/Rule)
sed -i "1i\ " $RULE_YAML
mv $RULE_YAML /tmp/test
sed -i '1,/===/d' /tmp/test
mv /tmp/test /usr/share/clash/custom_rule.yaml
mv /tmp/test /usr/share/clash/rule.yaml
else
sed -i "1i\Rule:" $RULE_YAML
mv $RULE_YAML /tmp/test
sed -i "1i\ " /tmp/test
mv /tmp/test /usr/share/clash/custom_rule.yaml
mv /tmp/test /usr/share/clash/rule.yaml
fi
fi

0 comments on commit 6187c1e

Please sign in to comment.