这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@robertkirkman
Copy link
Member

@robertkirkman robertkirkman commented Jun 23, 2025

  • Continuation of fix(scripts/login.in): don't canonicalize symlink value #179, particularly these topics from there:

  • Contains things that were proposed there, but that it was decided to separate out into another PR for organization and easier review

  • Replaces space indentation with tab indentation in shell scripts

  • Replaces backtick command substitution syntax with dollar symbol and parentheses command substitution syntax in shell scripts

  • Places double quote symbols around all string (non-numerical) variable references that aren't possibly-empty references in the argument lists of command invocations

    • (placing double quote symbols around a possibly-empty variable in a command invocation is a case where the double quote symbols would cause an error to happen)
  • Places double quote symbols around all instances of @TERMUX_PREFIX@ and other replaced strings in .in files

  • Moves instances of multiline local variable declarations into single lines anywhere that doing so wouldn't make the line more than 100 characters long

  • Remove unused function hostname() from pkg

  • Remove unused variable PREFIX from termux-restore

  • Unify and clarify instances of login-related error message in chsh

- Continuation of termux#179, particularly these topics from there:
  - termux#179 (review)
  - termux#179 (comment)

- Contains things that were proposed there, but that it was decided to separate out into another PR for organization and easier review

- Replaces space intendation with tab indentation in shell scripts

- Replaces backtick command substitution syntax with dollar symbol and parentheses command substitution syntax in shell scripts

- Places double quote symbols around all string (non-numerical) variable references that aren't possibly-empty references in the argument lists of command invocations
  - (placing double quote symbols around a possibly-empty variable in a command invocation is a case where the double quote symbols would cause an error to happen)

- Places double quote symbols around all instances of `@TERMUX_PREFIX@` and other replaced strings in `.sh.in` files

- Moves instances of multiline `local` variable declarations into single lines anywhere that doing so wouldn't make the line more than 100 characters long

- Remove unused function `hostname()` from `pkg`

- Remove unused variable `PREFIX` from `termux-restore`

- Unify and clarify instances of `login`-related error message in `chsh`
Copy link
Member

@TomJo2000 TomJo2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been using this branch for my Apt 3.x testing and it is working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants