mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-28 07:34:59 +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
|
@ -17,12 +17,12 @@ rm -f SourceGit/sourcegit.icns
|
|||
|
||||
# Debain/Ubuntu package
|
||||
mkdir -p resources/deb/opt/sourcegit/
|
||||
mkdir -p resources/deb/usr/bin
|
||||
mkdir -p resources/deb/usr/share/applications
|
||||
mkdir -p resources/deb/usr/share/icons
|
||||
cp -f SourceGit/* resources/deb/opt/sourcegit/
|
||||
cp -r resources/_common/usr resources/deb/
|
||||
chmod -R 755 resources/deb
|
||||
cp -r resources/_common/applications resources/deb/usr/share/
|
||||
cp -r resources/_common/icons resources/deb/usr/share/
|
||||
chmod +x -R resources/deb/opt/sourcegit
|
||||
sed -i "2s/.*/Version: ${version}/g" resources/deb/DEBIAN/control
|
||||
dpkg-deb --build resources/deb ./sourcegit_${version}-1_amd64.deb
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue