Set permissions for /home/peach/.ssb-go

This commit is contained in:
notplants 2022-04-19 14:09:28 -04:00
parent 336fc9536a
commit 1facf38a69
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@ id -u peach &>/dev/null || adduser --quiet peach
chown peach /usr/bin/go-sbot
chown peach /usr/bin/sbotcli
# create and set permissions for /home/peach/.ssb-go
mkdir -p /home/peach/.ssb-go
chown -R peach:peach /home/peach/.ssb-go
# Automatically added by cargo-deb
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
# This will only remove masks created by d-s-h on package removal.

View File

@ -14,7 +14,7 @@ from peach_package_builder.constants import *
from peach_package_builder.utils import render_template, add_deb_to_freight, update_freight_cache
# manually update this version when we want to build a new peach-go-sbot package
GO_SBOT_VERSION = '0.1.24'
GO_SBOT_VERSION = '0.1.25'
# constants
DEB_CONF_DIR = os.path.join(PROJECT_PATH, 'conf/templates/go_sbot')