work on stash external + deploy wikijs
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
skip_searching_gallery="${skip_searching_gallery:-false}"
|
||||
|
||||
#echo "$skip_searching_gallery"
|
||||
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
if [[ $1 == "--"* ]]; then
|
||||
v="${1/--/}"
|
||||
#declare "$v"="$2"
|
||||
"$v"="$2"
|
||||
|
||||
shift
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
#echo "$skip_searching_gallery"
|
||||
#if [[ -z $skip_searching_gallery ]]; then
|
||||
if [[ $skip_searching_gallery == true ]]; then
|
||||
echo "not looping through galleries"
|
||||
else
|
||||
echo "looping through galleries"
|
||||
fi
|
||||
|
||||
if [[ -z $http_proxy ]]; then
|
||||
echo "not using proxy"
|
||||
curl_command="curl"
|
||||
else
|
||||
echo "using proxy"
|
||||
curl_command="curl -x $http_proxy"
|
||||
|
||||
fi
|
||||
echo $curl_command
|
||||
$curl_command https://cdni.pornpics.com/460/7/424/83105958/83105958_010_388f.jpg -O
|
||||
Reference in New Issue
Block a user