38263ac768
The unless condition of Exec["add-apt-repository-${name}"] calls test -s, which returns 1 if the file is empty. Because the file is empty, the unless condition is never true and the repository is added on every execution. This commit replaces the -s test condition with -f, which is true if the file exists or false otherwise. |
||
---|---|---|
.. | ||
backports.pp | ||
conf.pp | ||
init.pp | ||
key.pp | ||
params.pp | ||
pin.pp | ||
ppa.pp | ||
setting.pp | ||
source.pp | ||
update.pp |