Daniel Imms
e29c517386
Revert "replace bash shebang with '#!/usr/bin/env bash" for portability"
...
This reverts commit 86dace91a2 .
2017-10-06 09:33:22 -07:00
Julian Andres Klode
e073e848d7
Correctly get apt dirs in debian postinst
...
This previously used some crazy hack to parse the output of
`apt-config dump`, instead of using `apt-config shell` like
you are supposed to do.
2017-10-03 18:42:17 +02:00
Putta Khunchalee
86dace91a2
replace bash shebang with '#!/usr/bin/env bash" for portability
2017-09-17 21:19:08 +07:00
Christof Marti
3bdbece14d
Proposed credentials API: Linux dependencies
2017-07-18 16:01:31 -07:00
Daniel Imms
43e059e651
Add libgconf-2-4 as a .deb dependency
...
Fixes #24945
2017-04-21 09:45:52 -07:00
Daniel Imms
6c9ead0321
Update VS Code source list if disabled by OS upgrade
...
Fixes #24898
2017-04-17 10:08:54 -07:00
Daniel Imms
eb6e5e207b
Use better libxkbfile dep
...
Fixes #23261
2017-04-03 07:33:01 -07:00
Daniel Imms
68e6886423
Add libxkbfile-dev(el) as Linux package deps
...
Fixes #23261
2017-03-29 14:52:15 -07:00
Daniel Imms
4db944bc08
Install apt repository as http, not https
...
Fixes #21654
2017-03-01 22:42:52 -08:00
Felipe Sateler
b3a033b80d
Add gnupg and apt to depends
...
The postinst template uses tools from those packages.
Normally they are installed in most systems. However, this is not guaranteed. Lets make it guaranteed.
2017-02-21 09:53:53 -03:00
Daniel Imms
735a7c0cd7
Only install repo and key if they don't already exist
2017-02-16 23:12:36 -08:00
Daniel Imms
f976701c85
Install apt key and source for repository in deb postinst
...
Part of #2973
2017-02-16 22:34:49 -08:00
Daniel Imms
496b804f8a
Prime postinst for apt repo
2017-02-15 22:50:02 -08:00
Daniel Imms
3eed6fabe0
Add proper package replace metadata to deb control
...
Fixes #8943
Fixes #8876
Fixes #7496
2016-07-08 11:24:47 -07:00
Daniel Imms
934fa0bc0b
Add breaks visual-studio-code to deb control file
...
Fixes #8943
2016-07-08 09:34:32 -07:00
Daniel Imms
93e65224d7
Add linux setup link to packages
...
Fixes #6559
2016-06-16 11:41:18 -07:00
Daniel Imms
77c45a9aed
Add libnotify4 and libnss3 as deps to deb
...
Fixes #6636
2016-06-02 18:47:39 -07:00
Daniel Imms
88dda0daac
Remove git dependency from Linux packages
...
It's only a soft dependency so don't block an install on it.
Fixes #6692
2016-06-02 18:35:16 -07:00
Daniel Imms
9fc936c1eb
Replace visual-studio-code with code in deb package
...
Fixes #7085
2016-06-02 12:43:08 -07:00
Daniel Imms
cf36b323e2
Remove 'visual-studio-' from deb package to match command
...
Fixes #7085
2016-05-31 18:24:20 -07:00
Daniel Imms
096221c344
Change deb postrm shebang to /bin/bash
...
Fixes #6758
2016-05-24 13:39:09 -07:00
Daniel Imms
833be745fa
Explicitly install desktop entry in deb postinst
...
Fixes #6432
2016-05-17 17:53:52 -07:00
Daniel Imms
d96e0df5ba
Remove bin command in post install step for deb
2016-05-13 15:28:28 -07:00
Daniel Imms
6e113d01f0
Move bin command to /usr/share/<app>/bin
...
/usr/bin/<app> now symlinks to the launcher. This makes the CLI
accessible in the zip archive version.
Fixes #4426
2016-04-04 16:25:12 -07:00
Daniel Imms
ba6f665c6d
Merge .deb postinst and postinst.oss
2016-04-01 12:36:26 -07:00
Daniel Imms
6b0d3d2cae
Correct source repository format
...
Some changes were made to the endpoints.
2016-03-23 10:56:49 -07:00
Daniel Imms
ef2a1fcaa5
Fix deb postinst script
2016-03-20 11:19:18 -07:00
Daniel Imms
d451e0222a
Don't need to use -r arg
2016-03-18 15:27:25 -07:00
Daniel Imms
b6486f7ddf
Remove the legacy Linux bin command when installing stable
2016-03-18 15:17:50 -07:00
Daniel Imms
a0a22c8a51
Disable apt repository source
...
Need repository to be signed before enabling
2016-03-18 11:51:13 -07:00
Daniel Imms
3ddbbe9a95
Implement .rpm package gulp task
...
.rpm packages can now be build with:
gulp vscode-linux-<arch>-build-rpm
The resulting package will be output to ~/rpmbuild/RPMS/<arch>/ and can be
installed on a Red Hat-based distro with:
yum localinstall <path>
Note that Debian systems can build the package after installing the 'rpm'
package:
apt-get install rpm
This was tested building 64-bit on Ubuntu 15.10 and installing on CentOS 7.
Fixes #3595
2016-03-07 12:36:26 -08:00
Daniel Imms
572be7e529
Register code to the Debian alternatives system
...
Fixes #3541
2016-02-29 15:44:47 -08:00
Daniel Imms
346b45740b
Merge pull request #3513 from Tyriar/2973_deb_register_apt_repository
...
Register the apt repository as a source for official .deb builds
2016-02-29 14:45:42 -08:00
Daniel Imms
2428e2516e
Revise deb package wording
...
Fixes #3457
2016-02-29 09:54:18 -08:00
Daniel Imms
d624636afe
Register the apt repository as a source for official .deb builds
...
Part of #2973
2016-02-26 09:01:39 -08:00
Daniel Imms
ec54b8289e
Add git as a package dependency
2016-02-12 13:36:00 -08:00
Daniel Imms
994b0ad09d
Add maintainer email back in
...
It's a package quality requirement to avoid security warnings on installation
2016-02-12 13:34:44 -08:00
Joao Moreno
76465f35f8
make control quality aware
2016-02-12 16:26:40 +01:00
Joao Moreno
16f31d80e8
make code.desktop quality aware
2016-02-12 16:11:49 +01:00
Daniel Imms
fe3988c9a2
Add gulp tasks to build deb packages
...
Build, install and run:
gulp vscode-linux-packages
sudo dpkg -i out-linux/vscode-amd64.deb
code .
Installing the package does the following:
- Puts VSCode dir at /usr/share/code
- Puts code.sh launcher in /usr/bin
- Defines a .desktop file to properly integrate with the launcher
Fixes #2679
2016-02-11 14:20:34 -08:00