updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / wicd-eduroam / eduroam.install
blob1ef3e461722cb725bf0a0fd140068d0c6d25510e
1 #!/bin/sh
3 post_install(){
4 echo Adding eduroam to active list...
5 if grep eduroam /etc/wicd/encryption/templates/active > /dev/null
6 then
7 echo Eduroam was already installed!
8 else
9 echo eduroam >> /etc/wicd/encryption/templates/active && echo Eduroam added to active list
12 post_remove(){
13 export f=/etc/wicd/encryption/templates/active
14 echo -n Deleting eduroam from active list...
15 sed -e 's/^eduroam$//g' -i $f
16 echo ' [DONE]'
19 post_remove