mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
tag images
This commit is contained in:
parent
4a0a1824cc
commit
82d72e9759
6
.github/issue_template.md
vendored
6
.github/issue_template.md
vendored
@ -22,6 +22,12 @@ Keep in mind that many problems come from faulty power sources and corrupted SD
|
||||
|
||||
### What is the base image that you installed on the SD card? ( eg: NextCloudPi_07-21-17 )
|
||||
|
||||
You can discover this by executing
|
||||
|
||||
```
|
||||
cat /usr/local/etc/ncp-baseimage
|
||||
```
|
||||
|
||||
### Expected behavior
|
||||
|
||||
### Actual behaviour
|
||||
|
||||
@ -141,6 +141,9 @@ EOF
|
||||
# Optional packets for Nextcloud and Apps
|
||||
$APTINSTALL -o "Dpkg::Options::=--force-confold" php-smbclient
|
||||
$APTINSTALL postfix
|
||||
|
||||
# tag image
|
||||
echo "NextCloudPi_$( date "+%m-%d-%y" )" > /usr/local/etc/ncp-baseimage
|
||||
}
|
||||
|
||||
configure() { :; }
|
||||
|
||||
@ -142,6 +142,9 @@ EOF
|
||||
sudo -u www-data php $OCC config:system:set mail_domain --value="ownyourbits.com"
|
||||
}
|
||||
|
||||
# images are now tagged
|
||||
test -f /usr/local/etc/ncp-baseimage || echo "untagged" > /usr/local/etc/ncp-baseimage
|
||||
|
||||
# restart PHP to get updates in the ncp-web
|
||||
# FIXME: php doesn't come up if run from ncp-web
|
||||
#(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user