Skip to content

Commit d513873

Browse files
committed
1.57.0.sh: Update package lists before installing packages
1 parent 7df0311 commit d513873

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-lxd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ jobs:
319319
320320
sudo "$LXC" exec ncp -- bash -c "DBG=x ncp-update ${UPDATE_ARGS[*]}"
321321
sudo "$LXC" exec ncp -- /usr/local/bin/ncc status
322+
sudo "$LXC" exec ncp -- /usr/local/bin/ncc notify_push:self-test
322323
323324
if [[ "$current_nc_version" =~ "$latest_nc_version".* ]]
324325
then
@@ -330,6 +331,8 @@ jobs:
330331
sudo "$LXC" exec ncp -- bash -c "DBG=x ncp-update-nc ${latest_nc_version?}"
331332
sudo "$LXC" exec ncp -- /usr/local/bin/ncc status
332333
current_nc_version_new="$(sudo "$LXC" exec ncp -- ncc status | grep "version:" | awk '{ print $3 }')"
334+
335+
sudo "$LXC" exec ncp -- /usr/local/bin/ncc notify_push:self-test
333336
if [[ "$current_nc_version_new" =~ "$latest_nc_version".* ]]
334337
then
335338
break

updates/1.57.0.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ source /usr/local/etc/library.sh
77
echo "Configuring serverid ..."
88
ncc config:system:get serverid > /dev/null || ncc config:system:set serverid --value="$((RANDOM % 1024))" --type=integer
99
echo "Installing PHP APCU ..."
10-
sudo apt-get install -y php${PHPVER}-apcu
10+
apt-get update
11+
apt-get install -y php${PHPVER}-apcu
1112
echo "Enable apache2 remoteip"
1213
a2enmod remoteip
1314
install_template nextcloud.conf.sh /etc/apache2/sites-available/001-nextcloud.conf --allow-fallback || {

0 commit comments

Comments
 (0)