scripts/centerim-enc
author Tomas Zeman <tzeman@volny.cz>
Fri, 25 Jul 2014 19:20:08 +0200
changeset 47 ac3f02c99e6c
permissions -rwxr-xr-x
scripts/centerim-enc: gpg encrypted centerim configuration
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     1
#!/bin/sh
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     2
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     3
C=$HOME/.centerim/config
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     4
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     5
gpg -d $C.asc > $C
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     6
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     7
sh -c "sleep 3; rm -f $C " &
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     8
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     9
centerim
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    10
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    11
rm -f $C