atom-beautify

This commit is contained in:
6543 2018-05-07 01:11:25 +02:00
parent 801da8e4af
commit b6eb652c50

View File

@ -9,44 +9,44 @@
# install | clean | debug

function clean() {
echo "clear build"
[ -d build ] && rm -v -R build
mkdir build
echo "clear build"
[ -d build ] && rm -v -R build
mkdir build
}

function build() {
echo "build ..."
## skripte copieren ##
# remaster
mkdir -p build/usr/bin/
cp -v src/remaster.sh build/usr/bin/remaster
chmod +x build/usr/bin/remaster
echo "build ..."
## skripte copieren ##
# remaster
mkdir -p build/usr/bin/
cp -v src/remaster.sh build/usr/bin/remaster
chmod +x build/usr/bin/remaster

# modules
mkdir -p build/usr/lib/remaster/
for i in proj func mods; do
mkdir -p build/usr/lib/remaster/$i
cp -v src/$i/* build/usr/lib/remaster/$i/
done
# modules
mkdir -p build/usr/lib/remaster/
for i in proj func mods; do
mkdir -p build/usr/lib/remaster/$i
cp -v src/$i/* build/usr/lib/remaster/$i/
done

# setting
mkdir -p build/etc/remaster/
cp -v src/config.sample.cfg build/etc/remaster/config.sample.cfg
# setting
mkdir -p build/etc/remaster/
cp -v src/config.sample.cfg build/etc/remaster/config.sample.cfg

}


case "$1" in
install)
install || exit 1
;;
install || exit 1
;;
clean)
clean || exit 1
;;
clean || exit 1
;;
debug)
debug || exit 1
;;
debug || exit 1
;;
*)
echo "Usage: install | clean | debug"
exit 1
echo "Usage: install | clean | debug"
exit 1
esac