Skip to content

Commit

Permalink
update: wait running apt processes (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Nov 10, 2017
1 parent fa5f56e commit 10488be
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
9 changes: 8 additions & 1 deletion build-devel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@
# this is a replica of ncp-update, but from devel branch
install()
{
test -f /etc/apt/apt.conf.d/20nextcloudpi-upgrades && { echo "deactivate unattended upgrades first"; return 1; }
# wait for other apt processes
pgrep apt &>/dev/null && echo "waiting for apt processes to finish..." && \
while :; do
pgrep apt &>/dev/null || break
sleep 1
done
rm -f /etc/apt/apt.conf.d/20nextcloudpi-upgrades

echo -e "Downloading updates"
rm -rf /tmp/ncp-update-tmp
git clone --depth 20 -q -b devel https://github.com/nextcloud/nextcloudpi.git /tmp/ncp-update-tmp
Expand Down
12 changes: 9 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@

[v0.34.2](https://github.com/nextcloud/nextcloudpi/commit/490c8fb) (2017-11-09) Revert "update: wait running apt processes"
[v0.34.5](https://github.com/nextcloud/nextcloudpi/commit/e603de3) (2017-11-10) update: wait running apt processes (fix)

[v0.34.1](https://github.com/nextcloud/nextcloudpi/commit/343c406) (2017-11-09) nc-nextcloud: added more logging
[v0.34.4 ](https://github.com/nextcloud/nextcloudpi/commit/362211f) (2017-11-09) redis: fixes with ramlogs and modsecurity

[v0.34.0 ](https://github.com/nextcloud/nextcloudpi/commit/bdf1b13) (2017-11-07) added NCP custom theme with new logo
[v0.34.3 ](https://github.com/nextcloud/nextcloudpi/commit/cc82c7b) (2017-11-09) redis: change overcommit memory on update

[v0.34.2 ](https://github.com/nextcloud/nextcloudpi/commit/6552310) (2017-11-09) Revert "update: wait running apt processes"

[v0.34.1 ](https://github.com/nextcloud/nextcloudpi/commit/3501a9e) (2017-11-09) nc-nextcloud: added more logging

[v0.34.0 ](https://github.com/nextcloud/nextcloudpi/commit/6917cac) (2017-11-07) added NCP custom theme with new logo

[v0.33.0 ](https://github.com/nextcloud/nextcloudpi/commit/d478a34) (2017-11-06) added redis

Expand Down

0 comments on commit 10488be

Please sign in to comment.