Download:
child 37:3eba5c29ae0d
parent 35:44a6ddc7f222
36:f3863be24d18
Anton Shestakov <engored@ya.ru>, Wed, 27 Aug 2014 16:32:00 +0900
Remove .bash_dconf2env, not used for ages.

2 файлов изменено, 0 вставок(+), 24 удалений(-) [+]
.bash_dconf2env file | annotate | diff | comparison | revisions
README.rst file | annotate | diff | comparison | revisions
--- a/.bash_dconf2env Wed Aug 27 14:40:49 2014 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-[[ `type -P dconf` ]] || return
-
-if [[ `dconf read /system/proxy/http/enabled` = "true" ]]; then
- host=`dconf read /system/proxy/http/host`
- host="${host//\'/}"
- port=`dconf read /system/proxy/http/port`
- export http_proxy="http://${host}:${port}/"
- export HTTP_PROXY="http://${host}:${port}/"
-
- no_proxy=`dconf read /system/proxy/ignore-hosts | grep -Po "(?<=')[^']+(?=')" | tr -d ' \n'`
- export no_proxy="${no_proxy}"
- export NO_PROXY="${no_proxy}"
-fi
--- a/README.rst Wed Aug 27 14:40:49 2014 +0900
+++ b/README.rst Wed Aug 27 16:32:00 2014 +0900
@@ -64,12 +64,3 @@
See? It's much easier to guess what beam.smp is when you know couchdb owns
it. And it's much, much easier to understand what python2 is doing there
when its owner is my-django-site-user or something.
-
-
-.bash_dconf2env
-~~~~~~~~~~~~~~~
-
-If you're using dconf (if you have Gnome 3 or some GTK+3 apps, you are) and
-want your system to use HTTP proxy server, put it in one place — your Gnome
-control center. Then just use this file and it'll set ``HTTP_PROXY`` and
-``NO_PROXY`` for you.