Peppermint-Classic-Build-Files/PeppermintOS-Classic-i386/Debian32.sh

26 lines
618 B
Bash
Executable File

#!/bin/sh
NAME="PeppermintOS-Classic"
###########################################################
while getopts "di" option; do
case $option in
d) # HDD image
cp ./auto/hdd ./auto/config
lb clean
lb config
lb build;;
i) # ISO image
cp ./auto/iso ./auto/config
lb clean
lb config
lb build
mv live-image-i386.packages ${NAME}_i386.packages
mv live-image-i386.hybrid.iso ${NAME}_i386.iso;;
\?) # Invalid option
echo "Error: Invalid option"
exit;;
esac
done