]> git.ipfire.org Git - people/jschlag/ipfire-3.x-image.git/commitdiff
Cleanup repo config file
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 22 Jun 2019 19:25:48 +0000 (20:25 +0100)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 22 Jun 2019 19:25:48 +0000 (20:25 +0100)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
generate_image.sh

index 3fed861c419c38584a691773184c2f18de69f7c4..03bbff0a9bb590e1ed09315e2c4a2a9eb3feb4f6 100755 (executable)
@@ -66,6 +66,14 @@ cleanup_stage_1() {
 
        # Remove loopback device
        losetup -d ${outlo}
+
+
+
+       # Cleanup Config file for the local repo
+       if [ -f "${LOCAL_REPO_FILE}" ]; then
+               rm -f "${LOCAL_REPO_FILE}"
+       fi
+
 }
 
 cleanup_stage_2() {