mirror of
https://github.com/ducaale/xh.git
synced 2025-05-05 15:32:50 +00:00
create xhs symlink in advance
This commit is contained in:
parent
cc304138b9
commit
f8e14a6c9b
@ -72,9 +72,10 @@ native-tls = ["reqwest/native-tls", "reqwest/native-tls-alpn"]
|
||||
[package.metadata.deb]
|
||||
features = []
|
||||
section = "web"
|
||||
maintainer-scripts = "debian"
|
||||
preserve-symlinks = true
|
||||
assets = [
|
||||
["target/release/xh", "usr/bin/", "755"],
|
||||
["assets/xhs", "usr/bin/", "777"],
|
||||
["LICENSE", "usr/share/doc/xh/", "644"],
|
||||
["CHANGELOG.md", "usr/share/doc/xh/CHANGELOG", "644"],
|
||||
["README.md", "usr/share/doc/xh/README", "644"],
|
||||
|
1
assets/xh
Normal file
1
assets/xh
Normal file
@ -0,0 +1 @@
|
||||
This is a temp file to make cargo-deb happy while copying the xhs symlink.
|
1
assets/xhs
Symbolic link
1
assets/xhs
Symbolic link
@ -0,0 +1 @@
|
||||
xh
|
4
debian/postinst
vendored
4
debian/postinst
vendored
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
ln -sf /usr/bin/xh /usr/bin/xhs
|
4
debian/postrm
vendored
4
debian/postrm
vendored
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
rm -f /usr/bin/xhs
|
Loading…
x
Reference in New Issue
Block a user