Skip to content

Commit 7a58363

Browse files
committed
1.57.0.sh: Update package lists before installing packages
1 parent 0df3397 commit 7a58363

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-lxd.yml

Lines changed: 1 addition & 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

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)