blob: 109741e867f05ee941315a4d8037b4f10270ace9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Run this script as root to continue"
exit
fi
if [ -f "/usr/bin/mkarchiso" ]; then
if [ ! -d "log" ]; then
mkdir log
fi
if [ -d "work" ]; then
echo "Removing the work directory"
rm -rf work
fi
echo "Building Alee Boot Utility"
mkarchiso -v . | tee log/aleebootutility-$(date +%Y.%m.%d-%H.%M.%S).log
else
echo "You must install the archiso package beforing continuing this process..."
fi
|