mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
add dotdrop warnings
This commit is contained in:
parent
a81a1312f6
commit
4b05a9acb5
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||||
echo "Usage: $0 <event> <talk-id>"
|
echo "Usage: $0 <event> <talk-id>"
|
||||||
echo "e.g.: $0 35c3 9766"
|
echo "e.g.: $0 35c3 9766"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
echo "Filepath missing."
|
echo "Filepath missing."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||||
echo "Usage: $0 <event> <talk-id>"
|
echo "Usage: $0 <event> <talk-id>"
|
||||||
echo "e.g.: $0 35c3 9766"
|
echo "e.g.: $0 35c3 9766"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||||
echo "Usage: $0 <event> <talk-id>"
|
echo "Usage: $0 <event> <talk-id>"
|
||||||
echo "e.g.: $0 35c3 9766"
|
echo "e.g.: $0 35c3 9766"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||||
echo "Usage: $0 <event> <talk-id>"
|
echo "Usage: $0 <event> <talk-id>"
|
||||||
echo "e.g.: $0 35c3 9766"
|
echo "e.g.: $0 35c3 9766"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
if [[ $UID -ne 0 ]]; then
|
if [[ $UID -ne 0 ]]; then
|
||||||
echo "You have to run this script as root!"
|
echo "You have to run this script as root!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue