mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update
This commit is contained in:
+2
-3
@@ -178,6 +178,8 @@ case "$DEBI_PRESET" in
|
||||
esac
|
||||
|
||||
DEBI_SUITE=${DEBI_SUITE:-stretch}
|
||||
DEBI_NEW="debian-$DEBI_SUITE"
|
||||
DEBI_NEW_DIR="/boot/$DEBI_NEW"
|
||||
|
||||
save_preseed=cat
|
||||
if [ "$DEBI_DRY_RUN" != true ]; then
|
||||
@@ -188,9 +190,6 @@ if [ "$DEBI_DRY_RUN" != true ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DEBI_NEW="debian-$DEBI_SUITE"
|
||||
DEBI_NEW_DIR="/boot/$DEBI_NEW"
|
||||
|
||||
rm -rf "$DEBI_NEW_DIR"
|
||||
mkdir -p "$DEBI_NEW_DIR"
|
||||
save_preseed="tee -a $DEBI_NEW_DIR/preseed.cfg"
|
||||
|
||||
Reference in New Issue
Block a user