petits fixs dans le postinst debian
This commit is contained in:
parent
6b763dda4d
commit
aedadd88a0
|
@ -27,7 +27,7 @@ case "$1" in
|
|||
|
||||
# If the package has default file it could be sourced, so that
|
||||
# the local admin can overwrite the defaults
|
||||
[ -f "/etc/default/packagename" ] && . /etc/default/packagename
|
||||
[ -f "/etc/default/polynum" ] && . /etc/default/polynum
|
||||
|
||||
# Sane defaults:
|
||||
[ -z "$POLYNUM_USER" ] && POLYNUM_USER=polynum
|
||||
|
@ -97,7 +97,7 @@ case "$1" in
|
|||
echo "..done"
|
||||
fi
|
||||
echo -n "Creating .pyc files [ "
|
||||
for pydir in polynum bin virtualenv
|
||||
for pydir in polynum virtualenv
|
||||
do
|
||||
echo -n "$POLYNUM_HOME/$pydir "
|
||||
python -m compileall -f -q $POLYNUM_HOME/$pydir
|
||||
|
|
Reference in New Issue