build: use symbolic link instead of custom script file to add command line for this software on Linux

This commit is contained in:
leo 2024-06-28 11:21:58 +08:00
parent 8dfe882455
commit f455df0937
8 changed files with 24 additions and 11 deletions

2
build/resources/deb/DEBIAN/control Normal file → Executable file
View file

@ -1,5 +1,5 @@
Package: sourcegit
Version: 8.8
Version: 8.18
Priority: optional
Depends: libx11-6, libice6, libsm6
Architecture: amd64

View file

@ -0,0 +1,5 @@
#!bin/sh
echo 'Create link on /usr/bin'
ln -s /opt/sourcegit/sourcegit /usr/bin/sourcegit
exit 0

View file

@ -0,0 +1,4 @@
#!bin/sh
rm -f /usr/bin/sourcegit
exit 0