fix: caddy sed package name

Former-commit-id: 23faa66a6010168f64545ead1beb5f41db3ffd76 [formerly 335df9ff6c4799677119e72f6bbf5a00e6709c43] [formerly 54ebf5831102f306edb07b40cb518262787a9305 [formerly 5a9f0a0d81]]
Former-commit-id: 5203ad4f906f8f85c7ece2d7beb14eedfa907cf7 [formerly b58ea071061a8a045fbbb9301b028774f9991696]
Former-commit-id: 7ae9ac04e135c449355a8da8845e0951fde6fe92
This commit is contained in:
1138-4EB 2019-01-09 03:13:54 +01:00
parent bc4ac5eb9b
commit d47774c828

View File

@ -132,7 +132,7 @@ pushRicebox () {
git clone git@github.com:filebrowser/caddy caddy
cd caddy
cp ../http/rice-box.go ./
sed -i 's/package lib/package caddy/g' ./rice-box.go
sed -i 's/package http/package caddy/g' ./rice-box.go
git checkout -b update-rice-box origin/master
git config --local user.name "Filebrowser Bot"
git config --local user.email "FilebrowserBot@users.noreply.github.com"