]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
Improvement of backup iso script
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Mon, 2 Jan 2017 15:17:08 +0000 (16:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jan 2017 19:12:14 +0000 (19:12 +0000)
commit391560854f64ad2385adb3ff25dbbcec0ff92668
tree7b3adee1a33e9201bd3876690ff7d9c4c0741a0a
parent9a015b5bd54887495c8670aee91335cfabf9d6f1
Improvement of backup iso script

The backup iso script did not check the arch of the host. On x86_64 host
the wrong iso was downloaded.

Furthermore, there were some if clauses which could cause trouble which
I also tried to improve.
(For example: -e is valid if we have a directory or a file, but we want
to check for a file only )

Fixes: 11258
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/backupiso