diff --git a/pkgs/scripts/deb/postinstall.sh b/pkgs/scripts/deb/postinstall.sh index d5812f57..b658acac 100644 --- a/pkgs/scripts/deb/postinstall.sh +++ b/pkgs/scripts/deb/postinstall.sh @@ -22,7 +22,7 @@ if [ "$1" = "configure" ]; then # ensure files and folders have the appropriate permissions chown -R sftpgo:sftpgo /etc/sftpgo /var/lib/sftpgo chmod 750 /etc/sftpgo /var/lib/sftpgo - chmod 640 /etc/sftpgo/sftpgo.json /etc/sftpgo/sftpgo.env + chmod 640 /etc/sftpgo/sftpgo.json echo "Please be sure to have the python3-requests package installed if you want to use the REST API CLI" fi fi diff --git a/pkgs/scripts/rpm/postinstall b/pkgs/scripts/rpm/postinstall index 032837cb..d8b90f21 100644 --- a/pkgs/scripts/rpm/postinstall +++ b/pkgs/scripts/rpm/postinstall @@ -18,7 +18,7 @@ if [ $1 -eq 1 ]; then # ensure files and folders have the appropriate permissions /usr/bin/chown -R sftpgo:sftpgo /etc/sftpgo /var/lib/sftpgo /usr/bin/chmod 750 /etc/sftpgo /var/lib/sftpgo - /usr/bin/chmod 640 /etc/sftpgo/sftpgo.json /etc/sftpgo/sftpgo.env + /usr/bin/chmod 640 /etc/sftpgo/sftpgo.json echo "Please be sure to have the python requests library installed if you want to use the REST API CLI" fi # reload to pick up any changes to systemd files