Changeset 342
- Timestamp:
- Aug 23, 2011, 10:06:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freebsd-mgnt/system-update.sh
r306 r342 11 11 FALSE=0 12 12 TRUE=1 13 14 UNSAFE=${UNSAFE:-0} 15 if [ "$UNSAFE" != "0" ]; then 16 echo "# WARNING: Vunabilitiy check disabled!" 17 sleep 1 18 fi 13 19 14 20 ask_question() { … … 181 187 case $USE_PORTMGNT in 182 188 portupgrade) 183 portupgrade -r -mBATCH=yes -a $NEWPORTS 189 case $UNSAFE in 190 0) portupgrade -r -mBATCH=yes -a $NEWPORTS ;; 191 1) portupgrade -r -mBATCH=yes -mDISABLE_VULNERABILITIES=yes -a $NEWPORTS ;; 192 esac 184 193 ;; 185 194 portmaster)
Note:
See TracChangeset
for help on using the changeset viewer.