mirror of
https://github.com/warpdotdev/warp.git
synced 2026-05-31 23:41:44 +08:00
11 lines
350 B
Bash
11 lines
350 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Create a symlink from /usr/bin to our binary under /opt.
|
|
rm -f /usr/bin/warp-terminal@@CHANNEL_SUFFIX@@
|
|
ln -s @@OPTDIR@@/@@BINARY_NAME@@ /usr/bin/warp-terminal@@CHANNEL_SUFFIX@@
|
|
|
|
# Make sure the system incorporates the newly-installed desktop file.
|
|
if hash update-desktop-database 2>/dev/null; then
|
|
update-desktop-database
|
|
fi
|