You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
295 B
22 lines
295 B
#!/bin/sh
|
|
set -e
|
|
|
|
dir=vibration
|
|
|
|
rm -rf "$dir"
|
|
mkdir -p "$dir"
|
|
|
|
cat > "$dir/module.prop" << EOF
|
|
id=vibration
|
|
name=Vibration intensity setting
|
|
version=1
|
|
versionCode=1
|
|
author=me
|
|
description=
|
|
EOF
|
|
|
|
install -Dm755 vibration.files/service.sh \
|
|
"$dir/service.sh"
|
|
|
|
./package.sh "$dir"
|
|
rm -rf "$dir"
|
|
|