Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Mehani <shtrom@ssji.net>2021-10-08 15:02:05 +0200
committerOlivier Mehani <shtrom@ssji.net>2021-10-08 15:02:05 +0200
commit737e999f81d97c4f05dc65e82dc7569dfcb1e43d (patch)
tree8a3dee80c1787bfe6165fd17a8bb4e326dfad912
parentcb799819f692ec0007c0e4a300826559c3dff8f5 (diff)
[openbsd-scripts] Fix cvs update and update php versionHEADmaster
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
-rwxr-xr-xopenbsd/titanium-cleanup.sh2
-rwxr-xr-xopenbsd/updateports.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/titanium-cleanup.sh b/openbsd/titanium-cleanup.sh
index f3b264b..1fb9a61 100755
--- a/openbsd/titanium-cleanup.sh
+++ b/openbsd/titanium-cleanup.sh
@@ -12,7 +12,7 @@
BACKUPPATH=${1}
-PHP=/usr/local/bin/php-7.3
+PHP=/usr/local/bin/php-7.4
OCC=/srv/www/nextcloud/occ
cd ${BACKUPPATH}
diff --git a/openbsd/updateports.sh b/openbsd/updateports.sh
index 51420cc..69074c0 100755
--- a/openbsd/updateports.sh
+++ b/openbsd/updateports.sh
@@ -4,7 +4,7 @@ export CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs
VERSION=`uname -r`
if [ -d /usr/ports ]; then
cd /usr/ports
- cvs -t -d ${CVSROOT} -z9 up -rOPENBSD_${VERSION/./_}
+ cvs -t -d ${CVSROOT} -z9 update -rOPENBSD_${VERSION/./_} -P -d
else
cd /usr
cvs -t -d ${CVSROOT} -z9 get -rOPENBSD_${VERSION/./_} -P ports