Skip to content

Commit f6cef0b

Browse files
committed
scripts/post-fs-data: always overwrite status.sh
1 parent 8160a89 commit f6cef0b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

module/post-fs-data.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ MODDIR=${0%/*}
44
SERVICE_D="/data/adb/service.d"
55
STATUS_SH="$SERVICE_D/kp-next.sh"
66

7-
if [ ! -d "$SERVICE_D" ] || [ ! -f "$STATUS_SH" ]; then
8-
mkdir -p "$SERVICE_D"
9-
cp "$MODDIR/status.sh" "$STATUS_SH"
10-
chmod 755 "$STATUS_SH"
11-
fi
7+
mkdir -p "$SERVICE_D"
8+
cp "$MODDIR/status.sh" "$STATUS_SH"
9+
chmod 755 "$STATUS_SH"

0 commit comments

Comments
 (0)