#!/bin/bash #+ # NAME: # newaccount # PURPOSE: # Updates start up files for new use account # CALLING SEQUENCE: # newaccount # PROCEDURE: # Updates the file $HOME/.bash_profile: # - adds $EXE and $COM to the path # - sets environment variable $USERNAME # Creates a few entries in the $HOME/.gnome-desktop directory # MODIFICATION HISTORY: # FEB-2001, Paul Hick (UCSD/CASS) # AUG-2002, Paul Hick (UCSD/CASS; pphick@ucsd.edu) # Removed edits of ~./bash_profile. This is now # done in the login script. #- # Check for gnome desktop directory. # (The user should first run X-windows to create the directory. # Otherwise it is created here. if [ ! -d $HOME/.gnome-desktop ]; then mkdir $HOME/.gnome-desktop fi if [ ! -d $HOME/temp ]; then mkdir $HOME/temp fi # Define symbolic links in desktop directory ln -s /usr/local/bin/idlde $HOME/.gnome-desktop/idlde ln -s /mnt/floppy $HOME/.gnome-desktop/Floppy ln -s $DAT $HOME/.gnome-desktop/Data