diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-01 10:51:26 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-01 10:51:26 +0800 |
commit | e9f3c7b21b7e083bc847836011f4d8c8e8b9c974 (patch) | |
tree | 974e0cbeb2ca490305f0480de40a27752b116608 /dfly-update | |
parent | 94f3275841b4d025071f7a3e5e2a9cada64ca744 (diff) | |
download | dfly-update-e9f3c7b21b7e083bc847836011f4d8c8e8b9c974.tar.bz2 |
Several minor changes
Diffstat (limited to 'dfly-update')
-rwxr-xr-x | dfly-update | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dfly-update b/dfly-update index 48a8a15..a609023 100755 --- a/dfly-update +++ b/dfly-update @@ -86,10 +86,9 @@ FILES_IGNORE=' /etc/rc.conf /etc/spwd.db ' -# Filename suffix for the temporarily backup files to avoid overriding. +# Filename suffix for the temporarily backup files to avoid overwriting. BAK_SUF="__bak__" -# Filename suffix for newly installed config files that need (manual) -# merge. +# Filename suffix for newly installed files that need (manual) merge. NEW_SUF="__new__" @@ -243,7 +242,7 @@ install_system() { path=${item#*:} echo " * mtree: ${path} ... " mtree -deUq -f ${MNT_DIR}/etc.hdd/mtree/${file} -p ${path} || - exit ${EC_MTREE} + exit ${EC_MTREE} done echo " => Installing kernel and world ..." @@ -369,7 +368,7 @@ postupgrade() { +---------------------------------------------------------+ After manually merge the above files, reboot into the new system, and upgrade the packages with: - # pkg upgrade -f + # pkg upgrade [-f] +=========================================================+ _EOF_ } |