瀏覽代碼

Restarted writing booty script, but in Python this time.

master
treyzania 6 年之前
父節點
當前提交
1ae9588d32
共有 4 個檔案被更改,包括 3 行新增15 行删除
  1. 3
    0
      booty.py
  2. 0
    14
      booty.sh
  3. 0
    1
      localconfig-booty
  4. 0
    0
      plunder.sh

+ 3
- 0
booty.py 查看文件

@@ -0,0 +1,3 @@
#!/usr/bin/env python3

print('Hello, World!')

+ 0
- 14
booty.sh 查看文件

@@ -1,14 +0,0 @@
#!/bin/bash

MAIN_CONFIG="~/.config/bootybot/booty.conf"
if [ -f localconfig ]; then
source localconfig-booty
elif [ -f "$MAIN_CONFIG" ]; then
source $MAIN_CONFIG
else
echo 'error: no valid config found'
exit 1
fi

# TODO The rest of the script.


+ 0
- 1
localconfig-booty 查看文件

@@ -1 +0,0 @@
PLEX_ROOT=./fakeplex

+ 0
- 0
plunder.sh 查看文件


Loading…
取消
儲存