scripts/centerim-enc
author Tomas Zeman <tomas@functionals.cz>
Thu, 16 Jan 2020 14:28:26 +0100
changeset 57 a0dd1720c796
parent 47 ac3f02c99e6c
permissions -rwxr-xr-x
config/.gitconfig: tomas@functionals.cz
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