Skip to content

Commit

Permalink
setup: install/pull ollama models
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr committed Sep 27, 2024
1 parent 5cb36bb commit 52c3613
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setup_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ declare -a systemd_units=(
/usr/lib/systemd/system/bluetooth.service
/usr/lib/systemd/system/clamav-freshclam-once.timer
/usr/lib/systemd/system/ly.service
/usr/lib/systemd/system/ollama.service
/usr/lib/systemd/system/pcscd.socket
/usr/lib/systemd/system/smartd.service
/usr/lib/systemd/system/swayosd-libinput-backend.service
Expand Down Expand Up @@ -592,6 +593,13 @@ rustup component add clippy rustfmt || {

sudo update-smart-drivedb

declare -a systemd_units=(
)
ollama pull llama3.2 || {
echo "failed to install llama3.2"
exit 1
}

corectrl_rules_path=/etc/polkit-1/rules.d/90-corectrl.rules
if ! sudo test -f "${corectrl_rules_path}"; then
echo "Setting up polkit for Corectrl"
Expand Down

0 comments on commit 52c3613

Please sign in to comment.