#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
+source ../functions/main
cat > /etc/default/useradd << "EOF"
# useradd defaults file
# Removing /tools directory
if [ -d /tools ]; then
- mv /tools /tools.to.remove.after.stage2
+ DEST=/usr/src/tools
+ if [ -d ${DEST} ]; then
+ # Remove old backup
+ rm -rf ${DEST}
+ fi
+ mv /tools ${DEST}
fi
ldconfig