Commit Graph

70 Commits

Author SHA1 Message Date
Raymond Zhao 49bf27ee9a fix: interactive postinst script breaks install for non-interactive environments (#227837) 2024-10-31 07:50:41 -07:00
Raymond Zhao 28ba9f5e58 fix: add postinst template conditions (#225097) 2024-08-07 17:00:39 -07:00
Matthias B. cd340e6aa4 Fix: only add apt sources for users that want them (#22145) (#221285)
Signed-off-by: Matthias Breithaupt <m.breithaupt@vogl-electronic.com>
2024-08-06 14:54:05 -07:00
Francois Marier 3d15752604 Use HTTPS for the apt repository (#203833) 2024-01-31 10:46:26 -08:00
Raymond Zhao 4aaab19f69 Add update-desktop-database calls (#194645)
* Add update-desktop-database calls

* Fix symbol
2023-10-05 17:52:25 +09:00
Raymond Zhao 8feb40b928 Generate dependencies per package build for Debian (#147335)
Fixes #13089
2022-07-19 10:43:05 -07:00
Tim Retout 3914b9bda5 Update desktop file cache in Debian package postinst 2021-10-11 23:19:31 +01:00
rjc e7d0b82c56 Fix Description field 2021-10-04 15:53:56 +01:00
Alex Myczko 2fbe092c9c fix long description 50%
This should not be longer than 80 characters/line. The last two lines belong to /usr/share/doc/code/README.Debian

Also it should not start with "Visual Studio Code is" but rather with "This is" 
Please refer to the Debian Developer Manual.
2021-03-17 07:39:26 +01:00
XECDesign 3cca5540aa Do no install repo on Raspberry Pi OS (#118826)
* Do no install repo on Raspberry Pi OS

* 💄

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2021-03-15 08:53:13 -07:00
João Moreno 09bc6fc64b Migrate to new deb repo (#114527)
* migrate to new deb repo

* improve deb migration
2021-01-18 14:43:24 +01:00
João Moreno adb037b74d fixes #114137 2021-01-13 11:11:00 +01:00
João Moreno 61995eab4a fix linux deb repo pointer 2020-12-10 14:59:33 +01:00
João Moreno 4250e343e0 use proper repos for linux arm 2020-12-07 16:15:57 +01:00
Daniel Imms b0baa3a2d8 Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
Daniel Imms 65b4134965 Merge pull request #95637 from luqmana/workspace-mimetype
Register mimetype for *.code-workspace
2020-09-09 05:55:27 -07:00
Daniel Imms d436dae4e9 Remove libnotify4 as deb dep
Fixes #99585
2020-06-08 10:48:25 -07:00
Luqman Aden 828389d890 Register mimetype for *.code-workspace 2020-04-19 04:57:06 -07:00
Daniel Imms ffe6f7950e Drop gconf dependency
Fixes #62580
2018-12-27 11:03:06 -08:00
Jay Rodgers 299b111bbf Adding missed dependency libxss1
In releasing for Chromebook I'm working on a minimal installation, so the base distribution has less packages pre-installed.

libxss1 is both a compile-time and run-time dependency, which would appear to have been missed (on my system it causes run-time errors if it's not present, due to the absence of libXss.so.1). I would expect this to cause the same issue on other minimal Debian installations.
2018-09-23 13:47:21 +01:00
Segev Finer 8f83890068 Add URL handler support for Linux desktops
Fixes #48528
2018-08-18 04:56:34 +03:00
Christof Marti 025d7e6eeb Include epoch (#55008) 2018-07-31 15:27:42 +02:00
Daniel Imms 2f12e41343 Require libnss3 >= 3.26 to match Chromium 2018-07-25 06:38:03 -07:00
Daniel Imms 5dc414cbc9 Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
This reverts commit 90fc7e66e2, reversing
changes made to 3b25417fa2.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu 1dc23e548e Revert "Update to Electron 2.0.x" 2018-07-23 10:58:49 +02:00
Benjamin Pasero 9459d2aae0 Update to Electron 2.0.x 2018-06-25 09:32:06 +02:00
Benjamin Pasero e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Benjamin Pasero e7d29e9ccc Electron v2.0.0 (#48290)
* Update to Electron 2.0-beta.7

* back to exploration build

* fix compile errors

* workaround build issue (go back to 1.24.0)

* bump to 1.25.0

* use electron 2.0.2

* revert custom distro
2018-06-08 18:32:49 +02:00
Benjamin Pasero 1aa0bb83bc Revert "Require gtk 3 on Linux"
This reverts commit 2e6a761f8c.
2018-04-20 17:22:30 +02:00
Daniel Imms 2e6a761f8c Require gtk 3 on Linux
Part of #47158
2018-04-13 11:42:58 -07:00
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