dev: automated commit - 2025-06-04 15:56:59
This commit is contained in:
parent
aa573c4ebc
commit
b754d49861
3 changed files with 39 additions and 3 deletions
8
main.go
8
main.go
|
@ -361,7 +361,11 @@ func executeScript(script Script, args []string, verbose bool) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func createNewScript(scriptName string) error {
|
func createNewScript(scriptName string) error {
|
||||||
if err := os.MkdirAll(config.RunsDir, 0o755); err != nil {
|
scriptPath := filepath.Join(config.RunsDir, scriptName)
|
||||||
|
|
||||||
|
dirPath := filepath.Dir(scriptPath)
|
||||||
|
|
||||||
|
if err := os.MkdirAll(dirPath, 0o755); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -369,8 +373,6 @@ func createNewScript(scriptName string) error {
|
||||||
scriptName += ".sh"
|
scriptName += ".sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
scriptPath := filepath.Join(config.RunsDir, scriptName)
|
|
||||||
|
|
||||||
if _, err := os.Stat(scriptPath); err == nil {
|
if _, err := os.Stat(scriptPath); err == nil {
|
||||||
return fmt.Errorf("script %s already exists", scriptName)
|
return fmt.Errorf("script %s already exists", scriptName)
|
||||||
}
|
}
|
||||||
|
|
34
runs/aur
Executable file
34
runs/aur
Executable file
|
@ -0,0 +1,34 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# NAME: aur script
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Running aur.sh script..."
|
||||||
|
|
||||||
|
paru -S --needed --noconfirm adwaita-dark \
|
||||||
|
aws-session-manager-plugin \
|
||||||
|
bottles \
|
||||||
|
bruno-bin \
|
||||||
|
davmail \
|
||||||
|
dmg2img \
|
||||||
|
ebgaramond-otf \
|
||||||
|
insomnia-bin \
|
||||||
|
kubefwd-bin \
|
||||||
|
mpvpaper \
|
||||||
|
ngrok \
|
||||||
|
openvpn3-git \
|
||||||
|
otf-font-awesome-5 \
|
||||||
|
postman-bin \
|
||||||
|
rofi-lbonn-wayland-git \
|
||||||
|
rose-pine-gtk-theme \
|
||||||
|
slack-desktop \
|
||||||
|
soapui \
|
||||||
|
sublime-merge \
|
||||||
|
swayfx-git \
|
||||||
|
teams-for-linux-bin \
|
||||||
|
ttf-font-awesome-5 \
|
||||||
|
ttf-ms-win11-auto \
|
||||||
|
watchman-bin \
|
||||||
|
yubico-authenticator-bin
|
||||||
|
|
||||||
|
echo "✅ aur completed successfully"
|
Loading…
Add table
Add a link
Reference in a new issue