melawy-plymouth-theme-nier-a2/dev/make.sh

20 lines
334 B
Bash
Executable File

#!/bin/bash
THEME_NAME="melawy-nier-a2"
if [[ -n "$THEME_NAME" ]]; then
echo "Non empty"
else
echo "Theme name is empty. Exit"
exit
fi
cp -f script.js ../$THEME_NAME/script.script
sed -i 's/function/fun/g' ../$THEME_NAME/script.script
if [[ "$?" == 0 ]]; then
echo "Make successed"
else
echo "Make failed?"
fi