version 1.23, 2012/09/11 16:24:46
|
version 1.27, 2013/04/03 08:14:52
|
Line 1
|
Line 1
|
#!/home/as/sh | #!/usr/local/libexec/pgallerysh |
# |
# |
# THE BEER-WARE LICENSE 2012 | # THE BEER-WARE LICENSE 2012,13 |
| # |
# <as@paefchen.net> wrote this file. As long as you retain this notice you |
# <as@paefchen.net> wrote this file. As long as you retain this notice you |
# can do whatever you want with this stuff. If we meet some day, and you think |
# can do whatever you want with this stuff. If we meet some day, and you think |
# this stuff is worth it, you can buy me a beer in return Aron Schlesinger |
# this stuff is worth it, you can buy me a beer in return Aron Schlesinger |
# |
# |
# $Paefchen: scripts/pgallery/src/pgallery.sh,v 1.22 2012/09/11 15:40:43 as Exp $ | # $Paefchen: scripts/pgallery/src/pgallery.sh,v 1.26 2013/04/03 08:06:44 as Exp $ |
# |
# |
. $(dirname $0)/libpgallery |
|
|
|
|
. /usr/local/libexec/libpgallery |
|
|
ARG_TITLE="PGallery" |
ARG_TITLE="PGallery" |
ARG_FILES= |
ARG_FILES= |
ARG_FILETYPES="jpg jpeg png gif tif tiff" |
ARG_FILETYPES="jpg jpeg png gif tif tiff" |
Line 180 then
|
Line 182 then
|
done |
done |
fi |
fi |
|
|
#paras from iso to utf-8 | # paras from iso to utf-8 |
for n in $(set | awk -F= '{print $1}') |
for n in $(set | awk -F= '{print $1}') |
do |
do |
echo "$n" | grep -q '^ARG_' || continue |
echo "$n" | grep -q '^ARG_' || continue |
Line 271 echo "save settings"
|
Line 273 echo "save settings"
|
set | while read n |
set | while read n |
do |
do |
echo "$n" | grep -q '^ARG_' || continue |
echo "$n" | grep -q '^ARG_' || continue |
|
echo "$n" | grep -q '^ARG_UPDATE' && continue |
echo "$n" >> $ARGFILE |
echo "$n" >> $ARGFILE |
done |
done |
|
|