mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 14:13:27 +00:00
Create install-depnotify.sh
This commit is contained in:
16
Helpers/install-depnotify.sh
Normal file
16
Helpers/install-depnotify.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# URL of the .pkg file to download
|
||||
downloadUrl="https://store.prpl.it/DEPNotify.pkg"
|
||||
|
||||
# Destination directory to store the downloaded .pkg file
|
||||
destinationDirectory="/tmp/pkg-install"
|
||||
|
||||
# Create the destination directory if it doesn't exist
|
||||
mkdir -p "$destinationDirectory"
|
||||
|
||||
# Download the .pkg file
|
||||
curl -o "$destinationDirectory/DEPNotify.pkg" "$downloadUrl"
|
||||
|
||||
# Install the .pkg file
|
||||
installer -pkg "$destinationDirectory/DEPNotify.pkg" -target /
|
||||
Reference in New Issue
Block a user