Skip to content

Commit

Permalink
Replace tabs with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanways committed Jan 7, 2024
1 parent 6a5cc32 commit 8725352
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion includes/create_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ create_box() {
}

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(create_box)
(create_box)
fi
3 changes: 1 addition & 2 deletions includes/delete_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ delete_box() {
}

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(delete_box)
(delete_box)
fi

1 change: 0 additions & 1 deletion includes/duplicate_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ duplicate_box() {
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(duplicate_box)
fi

1 change: 0 additions & 1 deletion includes/enter_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ enter-box() {
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(enter-box)
fi

1 change: 0 additions & 1 deletion includes/list_boxes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ list_boxes() {
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(list_boxes)
fi

1 change: 0 additions & 1 deletion includes/start_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ start_box() {
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(start_box)
fi

1 change: 0 additions & 1 deletion includes/stop_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ stop_box() {
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(stop_box)
fi

5 changes: 2 additions & 3 deletions includes/upsize_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ upsize_box() {
$(ls $dir/images/ | sed 's/.img//g')
"
echo "Stop your chroot before continue!"
read -r -p "Type your chroot name: " chroot
read -r -p "Type your chroot name: " chroot
read -r -p "Type the new chroot size (in GB): " size
qemu-img resize -f raw "$dir"/images/"$chroot".img "$size"G
e2fsck -f "$dir"/images/"$chroot".img
resize2fs "$dir"/images/"$chroot".img
}

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(upsize_box)
(upsize_box)
fi

0 comments on commit 8725352

Please sign in to comment.