diff options
-rw-r--r-- | alias | 2 | ||||
-rw-r--r-- | tools/osm/osm | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -113,7 +113,7 @@ alias pfl='pacman -Fl' | |||
113 | alias pqe='pacman -Qqe' | 113 | alias pqe='pacman -Qqe' |
114 | alias pR='sudo pacman -R' | 114 | alias pR='sudo pacman -R' |
115 | psi() { | 115 | psi() { |
116 | pqe | grep $1 >/dev/null && echo -e "$(tput setaf 13)[Installed]$(tput sgr0)" | 116 | [[ $(pacman -Qqe $1) != '' ]] 2>/dev/null && echo -e "$(tput setaf 13)[Installed]$(tput sgr0)" |
117 | pacman -Si $1 | 117 | pacman -Si $1 |
118 | } | 118 | } |
119 | 119 | ||
diff --git a/tools/osm/osm b/tools/osm/osm index a595fb7..344f906 100644 --- a/tools/osm/osm +++ b/tools/osm/osm | |||
@@ -1,7 +1,8 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | #export OSM_SERVER=https://master.apis.dev.openstreetmap.org | 3 | export OSM_TEST_SERVER=https://master.apis.dev.openstreetmap.org |
4 | export OSM_SERVER=https://api.openstreetmap.org | 4 | export OSM_SERVER=https://api.openstreetmap.org |
5 | export OSM_TES_SERVER=https://api.openstreetmap.org | ||
5 | 6 | ||
6 | export OSM_API=$OSM_SERVER/api/0.6 | 7 | export OSM_API=$OSM_SERVER/api/0.6 |
7 | export OSM_USER_PASSWD=$(cat $SETTING_DIR/tokens/osm 2>/dev/null) | 8 | export OSM_USER_PASSWD=$(cat $SETTING_DIR/tokens/osm 2>/dev/null) |