Commit Graph

49 Commits

Author SHA1 Message Date
Asher 3339853c26
Avoid root when prefix is writable
Previously if the prefix was non-existent we would switch to root even
if the user does have the permissions to create the directory.

Fixes #3585
2021-07-13 12:22:06 -05:00
Asher 6045fdd3ac
Make installer work on any os/arch 2021-07-13 12:22:05 -05:00
Joe Previte 002fa08222
chore: fix broken link in install.sh 2021-07-02 11:14:36 -07:00
Joe Previte 908b2c8502
fix: use new docs links in install script 2021-07-02 10:29:49 -07:00
Joe Previte 5a6af17725
fix: modify install script for alpine 2021-07-01 15:50:31 -07:00
dependabot[bot] 9042bbae9a
chore(deps-dev): bump prettier-plugin-sh from 0.6.1 to 0.7.1 (#3680)
* chore(deps-dev): bump prettier-plugin-sh from 0.6.1 to 0.7.1

Bumps [prettier-plugin-sh](https://github.com/rx-ts/prettier) from 0.6.1 to 0.7.1.
- [Release notes](https://github.com/rx-ts/prettier/releases)
- [Changelog](https://github.com/rx-ts/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rx-ts/prettier/compare/prettier-plugin-sh@0.6.1...prettier-plugin-sh@0.7.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-sh
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: reformat shell scripts

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akash Satheesan <akash.satheesan@protonmail.com>
2021-06-28 22:06:55 +05:30
Joe Previte 31aac201bf
chore(release): bump version to 3.10.2 2021-05-21 16:04:55 -07:00
Asher e983ba9a4b
v3.10.1 (#3406)
* Update versions
* Update changelog
2021-05-17 14:59:41 -05:00
Akash Satheesan d17c97c9cd chore(release): bump version to 3.10.0 2021-05-11 01:39:44 +05:30
Joe Previte 003dc0feeb
chore(release): bump version to 3.9.3 2021-04-08 11:18:56 -07:00
Ikko Ashimine b4e1d8db5d
chore: fix typo in install.sh
occurances -> occurrences
2021-04-03 02:02:16 +09:00
Joe Previte b2af7fe5a3
fix: use main instead of version in install.sh 2021-03-25 16:09:19 -07:00
Joe Previte f688e58472
chore(release): bump version to 3.9.2 2021-03-25 10:33:47 -07:00
Joe Previte d05389880a
chore: update formatting w/new prettier sh plugin 2021-03-15 15:36:31 -07:00
Joe Previte 606fa26b5a
chore: bump version to 3.9.1 2021-03-05 14:05:31 -07:00
Joe Previte ba9196968b
chore(install.sh): update to v3.9.0 2021-02-12 16:22:31 -07:00
Ben e4c82a097e
update branch in URLs 2021-02-11 08:00:36 -05:00
Ben 3dcb92be40
fix npm docs link in install.sh 2021-02-11 08:00:33 -05:00
Joe Previte 4756257207
refactor: rename doc to docs 2021-02-03 09:46:35 -07:00
Torbjørn Viem Ness c52198f30d
install.sh: Fix usage of su (#2529)
See also https://github.com/cdr/code-server/pull/2529#issuecomment-763829674
2021-01-20 13:03:13 -05:00
Anmol Sethi d3d44280a7
install.sh: Add echo_npm_postinstall
Updates #2349
2020-12-18 11:52:08 -05:00
Oxylibrium f8dc3fccac
install.sh: use $ID_LIKE to detect distro (#2423) 2020-12-14 21:18:24 +00:00
Anmol Sethi a0b7bf2180
install.sh: Default $RSH to ssh 2020-10-22 02:17:12 -04:00
Anmol Sethi 30f3030530
install.sh: Allow customizing remote shell with --rsh 2020-10-22 02:17:12 -04:00
Anmol Sethi 759a78d9d8
install.sh: Rename SSH_FLAGS to RSH_FLAGS 2020-10-22 02:17:12 -04:00
Anmol Sethi 811cf3364a
install.sh: Allow installing directly onto a remote host (#2183)
Updates #1729

To fully close that issue see the various TODOs.
2020-10-09 15:33:58 -04:00
Siva 3f508e5e12
Escape $ inside the systemctl doc string (#2018) 2020-08-28 12:21:00 -04:00
Anmol Sethi 255fa37e1d
Bundle systemd system unit
systemd's user units are buggy on certain versions
and do not linger by default.

Closes #1771
Closes #1673
Closes #1882
Closes #1861
2020-08-27 13:20:21 -04:00
Anmol Sethi 3d9e3b8717
Add FreeBSD support to install script 2020-06-13 11:14:32 -04:00
Anmol Sethi 7958cc7e29
install.sh: Print creation of CACHE_DIR 2020-06-04 18:23:01 -04:00
Anmol Sethi 9a3b9fcac2
Fix install script to trim leading v from version
Updates #1746
2020-06-02 17:22:24 -04:00
Anmol Sethi 90caca3336
Minor fixes 2020-05-27 20:38:29 -04:00
Anmol Sethi 30e9c516e7
Further improve AUR installation 2020-05-27 17:46:55 -04:00
Anmol Sethi af398c49fd
Workaround lack of builtin in /bin/sh 2020-05-27 17:01:33 -04:00
Anmol Sethi 29e5c4a293
Clarify npm docs in install.md 2020-05-27 16:48:11 -04:00
Anmol Sethi f71d8875d0
Rename binary release to standalone 2020-05-27 16:39:17 -04:00
Anmol Sethi 06c26a22cd
Improve aur installation clarity 2020-05-27 16:01:06 -04:00
Anmol Sethi fa45fd0e31
Rename static releases to binary releases
More clear as discussed in PR.
2020-05-27 15:57:18 -04:00
Anmol Sethi 665ca017a1
Fixes from @code-asher's godly review 2020-05-27 15:48:22 -04:00
Anmol Sethi e9101a2421
Improve formatting 2020-05-27 15:48:22 -04:00
Anmol Sethi 7ef82d8422
Improved install.sh flags 2020-05-27 15:48:22 -04:00
Anmol Sethi 42b5152888
Further documentation cleanup 2020-05-27 15:48:22 -04:00
Anmol Sethi 7dcfde7329
Documentation fixes 2020-05-27 15:48:22 -04:00
Anmol Sethi f117475970
install.md: Add https://github.com/linuxserver/docker-code-server
See https://github.com/cdr/code-server/issues/1337#issuecomment-632131384
2020-05-27 15:48:22 -04:00
Anmol Sethi a40dabbd22
Add install script to docs 2020-05-27 15:48:22 -04:00
Anmol Sethi e0172d0953
Minor fixes for install.sh and bundle in libstdc++
Closes #1706
2020-05-27 15:48:22 -04:00
Anmol Sethi c80b2748e1
install.sh: Fixes from @code-asher's review 2020-05-27 15:48:22 -04:00
Anmol Sethi 510d84898c
install.sh: Add our own flag parser
Fully supports long opts!
2020-05-27 15:48:22 -04:00
Anmol Sethi 3b11733bd8
Add auto install script 2020-05-27 15:48:22 -04:00