Renamed options from short numbered format (i.e. '-1', '-2') to long descriptive format (i.e. '--mmdebstrap', '--sources')
This commit is contained in:
@@ -9,7 +9,7 @@ source \
|
||||
"${BASEDIR}/system.conf"
|
||||
|
||||
|
||||
if [[ "${1}" == '-1' ]]; then
|
||||
if [[ "${1}" == '--rsync' ]]; then
|
||||
mkdir -p /run/install
|
||||
|
||||
if [[ "${VERSION_ID}" -lt '41' ]]; then
|
||||
@@ -24,7 +24,7 @@ if [[ "${1}" == '-1' ]]; then
|
||||
--exclude=/etc/machine-id \
|
||||
--info=progress2 \
|
||||
/run/install/ /mnt
|
||||
elif [[ "${1}" == '-2' ]]; then
|
||||
elif [[ "${1}" == '--resolv-conf' ]]; then
|
||||
mv /mnt/etc/resolv.conf \
|
||||
/mnt/etc/resolv.conf.orig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user