We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231a920 commit 4803c73Copy full SHA for 4803c73
1 file changed
install.sh
@@ -10,8 +10,11 @@ if [[ $# -eq 1 && $1 == "uninstall" ]]; then
10
echo "Uninstalled"
11
12
else
13
-
14
- cp target/release/rdg /usr/bin/rdg
+ if [[ -n $CARGO_TARGET_DIR ]]; then
+ cp $CARGO_TARGET_DIR/release/rdg /usr/bin/rdg
15
+ else
16
+ cp target/release/rdg /usr/bin/rdg
17
+ fi
18
cp assets/net.olback.rdg.desktop /usr/share/applications/net.olback.rdg.desktop
19
cp assets/net.olback.rdg.png /usr/share/icons/hicolor/256x256/apps/net.olback.rdg.png
20
0 commit comments