Refactored first time setup. Fixed various issues.

main
Graham Helton 2 years ago
parent cc3f5bd160
commit 31af5dc060

@ -156,11 +156,6 @@ backup_old(){
echo $TICK_BACKUP$GREEN"Backing up $BLUE$line$GREEN to $BLUE$BACKUP_DIR" echo $TICK_BACKUP$GREEN"Backing up $BLUE$line$GREEN to $BLUE$BACKUP_DIR"
cp -rf $HOME/$line $BACKUP_DIR > /dev/null 2>&1; cp -rf $HOME/$line $BACKUP_DIR > /dev/null 2>&1;
done < $CONFIG_PATH/global_dotFiles.conf # Fix done < $CONFIG_PATH/global_dotFiles.conf # Fix
} }
distribute_files(){ distribute_files(){
@ -173,7 +168,6 @@ distribute_files(){
# Going to need to figure out a way to move all files except for the backup folder # Going to need to figure out a way to move all files except for the backup folder
done done
#echo $TICK_MOVE$GREEN"Copied $BLUE$line$GREEN to $BLUE$BACKUP_DIR"$ENDCOLOR #echo $TICK_MOVE$GREEN"Copied $BLUE$line$GREEN to $BLUE$BACKUP_DIR"$ENDCOLOR
} }
main(){ main(){

Loading…
Cancel
Save