5
0
Fork 0
mirror of https://codeberg.org/Computertruhe/Setup-Skripte.git synced 2025-06-28 03:16:21 +02:00

Merge pull request 'missing sudo' (#77) from smu/Setup-Skripte:main into main

Reviewed-on: https://codeberg.org/Computertruhe/Setup-Skripte/pulls/77
Reviewed-by: Mac <mac@noreply.codeberg.org>
Reviewed-by: ml <ml@noreply.codeberg.org>
This commit is contained in:
ml 2024-09-15 15:21:25 +00:00
commit 1ee789a677

View file

@ -75,7 +75,8 @@ fi
case "$IMG" in case "$IMG" in
*.bz2) *.bz2)
sudo dd if="$IMG" bs=1M status=progress | bzip2 -d > "$DEV" # alternativ: `bzcat` statt `bzip2 -dc`
bzip2 -dc "$IMG" | sudo dd of="$DEV" bs=1M status=progress
;; ;;
*) *)
sudo dd if="$IMG" of=$DEV bs=1M status=progress sudo dd if="$IMG" of=$DEV bs=1M status=progress