Commit graph

15 commits

Author SHA1 Message Date
Daniel Imms 93e65224d7 Add linux setup link to packages
Fixes #6559
2016-06-16 11:41:18 -07:00
Andrew Stitcher 57a6d9568d Fix removal of /usr/bin link when upgrading package 2016-06-07 15:54:15 -04: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 05a6bbb31f Add el7 to rpm name to indicate RHEL7+ support
Fixes #6546
2016-05-31 19:25:46 -07:00
Daniel Imms 399a12f3e3 Add glibc v2.15 requirement to rpm
Fixes #6545
2016-05-19 12:35:51 -07:00
Daniel Imms 0b37d2acb9 Have rpm remove bin symlink in post uninstall step
Related #6338
2016-05-13 15:14:28 -07:00
Daniel Imms 179fd83998 Use sudo to add bin symlink in rpm
Fixes #6338
2016-05-13 15:12:17 -07:00
Daniel Imms cd12a7e389 Include the Linux bin command in the main dir
This also changes the behavior of the bin command to find cli.js relatively,
meaning the CLI now supports non-standard install locations.
2016-04-05 14:51:03 -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 e4d6038750 Use update url variable for yum repo 2016-04-01 12:32:27 -07:00
Daniel Imms d23ce88450 Add yum repository registration
This is currently disabled until the repo is signed

Part of #229
2016-04-01 12:29:59 -07:00
Daniel Imms 51209bba91 Add Icon to rpm file
Related to #4155
2016-03-24 14:01:51 -07:00
Daniel Imms e0c7d51ffa Remove legacy bin command as rpm post install step
Fixes #4442
2016-03-23 15:31:06 -07:00
Daniel Imms 01be0ac7fe Add Group, Vendor and Packager metadata to rpm spec 2016-03-09 19:53:06 -08: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