config/companion_libs/ppl.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 01 17:09:52 2010 +0100 (2010-01-01)
changeset 1673 ecb7fcc4edb0
parent 1386 7995942261f2
child 2072 72b3996ba3e6
permissions -rw-r--r--
scripts/functions: fix downloading with aria2

In case the remote file does not exist (and probably for some
other reasons as well), aria2 nonetheless creates an empty file
(or not empty for some other reasons).

The solution is to delete the file whenever aria2 fails.
yann@1324
     1
# PPL options
yann@1324
     2
yann@1324
     3
choice
yann@1324
     4
    bool
yann@1324
     5
    prompt "PPL version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1324
     8
yann@1324
     9
config PPL_V_0_10_2
yann@1324
    10
    bool
yann@1324
    11
    prompt "0.10.2"
yann@1324
    12
yann@1324
    13
endchoice
yann@1324
    14
yann@1324
    15
config PPL_VERSION
yann@1324
    16
    string
yann@1535
    17
# Don't remove next line
yann@1535
    18
# CT_INSERT_VERSION_STRING_BELOW
yann@1324
    19
    default "0.10.2" if PPL_V_0_10_2