mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-19 07:23:51 +00:00
Update pre_install.sh
This commit is contained in:
parent
3b18b86454
commit
e275ac428c
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# update apt
|
||||||
|
apt-get update
|
||||||
|
|
||||||
# fix permissions for cron files if any
|
# fix permissions for cron files if any
|
||||||
if [ -f /etc/cron.d/* ]; then
|
if [ -f /etc/cron.d/* ]; then
|
||||||
chmod 0644 /etc/cron.d/*
|
chmod 0644 /etc/cron.d/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue