Comments (7)
Or just leave the -e;
I have already noticed this and fix is on it's way...
from deb.sury.org.
If -e is left out it will break on bash instead, causing read
to only process the first entry in "$SAPIS"
from deb.sury.org.
The default shell in Debian and Ubuntu is dash. Is there a way how to reproduce it in real life deployment?
from deb.sury.org.
Fair point, but since the default is still a configuration option that can be changed, we should probably aim to keep "#!/bin/sh"-scripts portable.
We should use:
printf "%b\n" "$SAPIS" | \
...according to https://wiki.ubuntu.com/DashAsBinSh#echo
and http://www.unix.com/man-page/POSIX/1posix/echo/
from deb.sury.org.
Thanks for the tip, I have modified the script and it will included in next upload to the PPAs (and Debian)...
SAPIS="apache2:apache2\napache2filter:apache2\ncgi:php5\nfpm:php5-fpm\n"
[...]
printf "$SAPIS" | \
from deb.sury.org.
(Np, I should be thanging you for the work maintaining this. ^_^ Donation is on my todo, btw).
Personally I wouldn't skip "%b\n" and risk silently ignore the last tuple because of a missing final \n. But either way is ok.
from deb.sury.org.
Re: "%b\n"
I plan to rewrite that little bit more... see my discussion with Steve here: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1356113
P.S.: I now have a bitcoin address too :)
from deb.sury.org.
Related Issues (20)
- packages.sury.org/*/nginx-extras_1.24.0.deb gives 404 not found HOT 1
- nginx packages "kept back", `mod-brotli` and `mod-ssl-ct` will be removed HOT 15
- PHP 8.3 shows full package version in phpversion() HOT 4
- PHP 8.2.16 available for Debian but not Ubuntu ?
- krakjoe/parallel support
- E: Unable to locate package nginx-brotli HOT 1
- Nginx Lua error with 1.24.0-2+ubuntu22.04.1+deb.sury.org+3 HOT 2
- [Request] libnginx-mod-http-trim-filter module
- Debian 10 βBusterβ End of LTS Support
- nginx package is a mess and breaks on upgrade HOT 46
- Add OpenTelemetry extension
- Excessive UNRELEASED Snapshot builds showing up every day since the 8.2.17 release HOT 4
- Can't access PPA repositories HOT 6
- Can't access to get apache2 HOT 1
- arm64 php release lags amd64 release HOT 5
- Jenkins is no longer publicly accessible HOT 1
- Downgrade xdebug to version 3.2.2 HOT 2
- packages.sury.org returns a high level of 500 HOT 10
- Upgrade to Apache 2.4.59 HOT 2
- W: Sources disagree on hashes for supposely identical version '2024.02.05+ubuntu20.04.1+deb.sury.org+1' of 'debsuryorg-archive-keyring:amd64'. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deb.sury.org.