Просмотр исходного кода

Restarted writing booty script, but in Python this time.

master
treyzania 6 лет назад
Родитель
Сommit
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 Просмотреть файл


Загрузка…
Отмена
Сохранить