mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-28 15:45:00 +00:00
build: use symbolic link instead of custom script file to add command line for this software on Linux
This commit is contained in:
parent
8dfe882455
commit
f455df0937
8 changed files with 24 additions and 11 deletions
2
build/resources/deb/DEBIAN/control
Normal file → Executable file
2
build/resources/deb/DEBIAN/control
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
|||
Package: sourcegit
|
||||
Version: 8.8
|
||||
Version: 8.18
|
||||
Priority: optional
|
||||
Depends: libx11-6, libice6, libsm6
|
||||
Architecture: amd64
|
||||
|
|
5
build/resources/deb/DEBIAN/postinst
Executable file
5
build/resources/deb/DEBIAN/postinst
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!bin/sh
|
||||
|
||||
echo 'Create link on /usr/bin'
|
||||
ln -s /opt/sourcegit/sourcegit /usr/bin/sourcegit
|
||||
exit 0
|
4
build/resources/deb/DEBIAN/postrm
Executable file
4
build/resources/deb/DEBIAN/postrm
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!bin/sh
|
||||
|
||||
rm -f /usr/bin/sourcegit
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue