Skip to content

Commit

Permalink
update imgbackup 1.35 - fix "new layout"
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed Jan 19, 2024
1 parent 6c4baa3 commit a9aacfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stb-backup/imgbackup
@@ -1,8 +1,8 @@
#!/bin/sh
# Script for complete image backup
# License: GPLv2 or later
Version="1.34 vom 29.11.2023"
Copyright="(C) 2018-2023 DboxOldie / BPanther / Frankenstone / Fritz"
Version="1.35 vom 20.01.2024"
Copyright="(C) 2018-2024 DboxOldie / BPanther / Frankenstone / Fritz"

#
file=$0
Expand Down Expand Up @@ -146,7 +146,7 @@ do
msgbox title="parted nicht gefunden" msg="~cPartitionen auf 4 gesetzt." icon="error"
part_count=4
else
part_count=`$prtd /dev/mmcblk0 print | grep -c rootfs`
[ $new_layout == 1 ] && part_count=`$prtd /dev/mmcblk0 print | grep -c linuxkernel` || part_count=`$prtd /dev/mmcblk0 print | grep -c rootfs`
fi
[ $part_count -gt 2 ] && PART_3=", Partition 3"
[ $part_count -gt 3 ] && PART_4=", Partition 4"
Expand Down

0 comments on commit a9aacfd

Please sign in to comment.