nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

Fix rm path for update package

Open MB-Finski opened this issue 3 years ago • 0 comments

Fixes a bening bug where the nextcloud update package won't be removed after unpacking when the code is run inside a docker container.

Also, for readability/clarity, remove an unnecessary "/var/www" from a cp command.

Edit: As a side note, the ncp-update-nc script uses absolute and relative path references variably. Absolute references using either $BASEDIR or $DATADIR would perhaps make the script more robust and future proof. Would such a commit/pull request make sense?

Signed-off-by: MB-Finski [email protected]

MB-Finski avatar Oct 09 '22 20:10 MB-Finski