projects
/
xkcdha
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
check if connection is alive
[xkcdha]
/
debian
/
xkcdha.postinst
1
#!/bin/sh -e
2
3
PKG="xkcdha"
4
USER="user"
5
GROUP="users"
6
7
IMG_DIR="/home/$USER/MyDocs/.images/$PKG"
8
9
[ "$1" = "configure" -a ! -d $IMG_DIR ] && (mkdir $IMG_DIR && chown -R $USER:$GROUP $IMG_DIR)
10
exit 0