Skip to content

Commit 5756a87

Browse files
fix symlink paths
1 parent 71875fd commit 5756a87

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

udroid/src/install_sim.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
2-
BIN="fs-manager-udroid/bin"
3-
INSTALL_DIR="fs-manager-udroid/test"
2+
BIN="${PREFIX}/bin"
3+
INSTALL_DIR="${PREFIX}/etc/udroid"
44

55
sleep 2
6-
ln -sv $INSTALL_DIR/udroid.sh $BIN/udroid
6+
ln -sv $INSTALL_DIR/udroid.sh $BIN/udroid || {
7+
echo "Installation failed.."
8+
exit 1
9+
}

0 commit comments

Comments
 (0)