diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-10-07 23:11:50 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-10-07 23:11:50 -0200 |
commit | 1f70b0c9db89bbf195901d2b9e1c6d224d2b30ae (patch) | |
tree | 24fa1665154b3e45d0790cc6669543cd9f3eda7b /libre/epiphany-libre/PKGBUILD | |
parent | e44b2381ba017a6e022f824fc571cea5d568591a (diff) | |
download | abslibre-1f70b0c9db89bbf195901d2b9e1c6d224d2b30ae.tar.gz abslibre-1f70b0c9db89bbf195901d2b9e1c6d224d2b30ae.tar.bz2 abslibre-1f70b0c9db89bbf195901d2b9e1c6d224d2b30ae.zip |
epiphany-libre: update and remove deprecated sed commands
Diffstat (limited to 'libre/epiphany-libre/PKGBUILD')
-rw-r--r-- | libre/epiphany-libre/PKGBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libre/epiphany-libre/PKGBUILD b/libre/epiphany-libre/PKGBUILD index c9f94d446..0fcc1a491 100644 --- a/libre/epiphany-libre/PKGBUILD +++ b/libre/epiphany-libre/PKGBUILD @@ -26,10 +26,7 @@ prepare() { cd $_pkgname-$pkgver # Replace Google support to DuckDuckGo HTML - sed -i 's|http://www[.]google[.]com/search?q=search[&]ie=UTF-8[&]oe=UTF-8|https://duckduckgo.com/html/?q=search|g' $(grep -rlI 'http://www[.]google[.]com/search?q=search&ie=UTF-8&oe=UTF-8') - sed -i 's|http://www[.]google[.]com/search?q=lala%2Elala[&]ie=UTF-8[&]oe=UTF-8|https://duckduckgo.com/html/?q=lala.lala|g' $(grep -rlI 'http://www[.]google[.]com/search?q=lala%2Elala&ie=UTF-8&oe=UTF-8') - sed -i 's|http://www[.]google[.]com/search?q=totalgarbage0xdeadbeef[&]ie=UTF-8[&]oe=UTF-8|https://duckduckgo.com/html/?q=totalgarbage0xdeadbeef|g' $(grep -rlI 'http://www[.]google[.]com/search?q=totalgarbage0xdeadbeef&ie=UTF-8&oe=UTF-8') - sed -i 's|http://www[.]google[.]com/search?q=search+separated+words+please[&]ie=UTF-8[&]oe=UTF-8|https://duckduckgo.com/html/?q=search+separated+words+please|g' $(grep -rlI 'http://www[.]google[.]com/search?q=search+separated+words+please&ie=UTF-8&oe=UTF-8') + sed -i 's|http://www[.]google[.]com/search?q=%s[&]ie=UTF-8[&]oe=UTF-8|https://duckduckgo.com/html/?q=search|g' $(grep -rlI 'http://www[.]google[.]com/search?q=%s&ie=UTF-8&oe=UTF-8') sed -i '\|a quoted string should be searched|d' $(grep -rlI 'a quoted string should be searched') sed -i 's|http://www[.]google[.]com/search?q=%s[&]amp;ie=UTF-8[&]amp;oe=UTF-8|https://duckduckgo.com/html/?q=%s|g' $(grep -rlI 'http://www[.]google[.]com/search') sed -i 's|http://www[.]google[.]com|https://duckduckgo.com/html|g' $(grep -rlI 'google[.]com') |