From: deraadt Date: Fri, 15 Dec 1995 12:14:51 +0000 (+0000) Subject: upgrade should put /.profile back; from jtk@kolvir.arlington.ma.us; X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8fb0e36cd4a815505921ba5476ca200e3b862fb6;p=openbsd upgrade should put /.profile back; from jtk@kolvir.arlington.ma.us; netbsd pr#1798 --- diff --git a/distrib/i386/floppies/upgr/dot.upgrutils b/distrib/i386/floppies/upgr/dot.upgrutils index 97f52529a93..3b109730bff 100644 --- a/distrib/i386/floppies/upgr/dot.upgrutils +++ b/distrib/i386/floppies/upgr/dot.upgrutils @@ -27,7 +27,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# $Id: dot.upgrutils,v 1.2 1995/11/06 21:27:45 deraadt Exp $ +# $Id: dot.upgrutils,v 1.3 1995/12/15 12:14:51 deraadt Exp $ # Upgrade cleanup utilites (functions), to make sure a recently-upgraded # system is safely runnable. These are meant to be invoked from the shell @@ -45,6 +45,7 @@ Cleanup() mv $upgrade_dir/etc/rc.bak $upgrade_dir/etc/rc chroot $upgrade_dir /usr/sbin/pwd_mkdb -p /etc/master.passwd chroot $upgrade_dir /bin/rm /etc/sendmail.fc > /dev/null 2>&1 + mv $upgrade_dir/.profile.bak $upgrade_dir/.profile sync echo "Done."