forked from MarseyWorld/MarseyWorld
use https whenever u can
parent
a84987a215
commit
5d49821e7a
|
@ -27,7 +27,7 @@ def feeds_user(sort='hot', t='all'):
|
||||||
|
|
||||||
doc, tag, text = Doc().tagtext()
|
doc, tag, text = Doc().tagtext()
|
||||||
|
|
||||||
with tag("feed", ("xmlns:media","http://search.yahoo.com/mrss/"), xmlns="http://www.w3.org/2005/Atom",):
|
with tag("feed", ("xmlns:media","https://search.yahoo.com/mrss/"), xmlns="https://www.w3.org/2005/Atom",):
|
||||||
with tag("title", type="text"):
|
with tag("title", type="text"):
|
||||||
text(f"{sort} posts from {SITE}")
|
text(f"{sort} posts from {SITE}")
|
||||||
|
|
||||||
|
|
|
@ -891,7 +891,7 @@
|
||||||
color = 'rgba' + color.slice(3,-1) + ', 0.1)'
|
color = 'rgba' + color.slice(3,-1) + ', 0.1)'
|
||||||
|
|
||||||
const markTemplate = (name) => {
|
const markTemplate = (name) => {
|
||||||
return `<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='50px' height='50px'><text transform='translate(10, 50) rotate(-45)' fill='${color}' font-size='20'>${name}</text></svg>`;
|
return `<svg xmlns='https://www.w3.org/2000/svg' version='1.1' width='50px' height='50px'><text transform='translate(10, 50) rotate(-45)' fill='${color}' font-size='20'>${name}</text></svg>`;
|
||||||
};
|
};
|
||||||
const base64Mark = btoa(markTemplate("{{v.id}}"));
|
const base64Mark = btoa(markTemplate("{{v.id}}"));
|
||||||
|
|
||||||
|
|
24
imei.sh
24
imei.sh
|
@ -409,28 +409,28 @@ install_deps() {
|
||||||
# Allow installation of source files
|
# Allow installation of source files
|
||||||
{
|
{
|
||||||
if [[ "${OS_DISTRO,,}" == *"ubuntu"* ]]; then
|
if [[ "${OS_DISTRO,,}" == *"ubuntu"* ]]; then
|
||||||
echo 'deb http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted'
|
echo 'deb https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted'
|
||||||
echo 'deb-src http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted universe multiverse'
|
echo 'deb-src https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"' main restricted universe multiverse'
|
||||||
|
|
||||||
if [ -z "$BACKPORTS" ]; then
|
if [ -z "$BACKPORTS" ]; then
|
||||||
echo 'deb http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse'
|
echo 'deb https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse'
|
||||||
echo 'deb-src http://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse'
|
echo 'deb-src https://archive.ubuntu.com/ubuntu '"$OS_SHORT_CODENAME"'-backports main restricted universe multiverse'
|
||||||
fi
|
fi
|
||||||
elif [[ "${OS_DISTRO,,}" == *"debian"* ]]; then
|
elif [[ "${OS_DISTRO,,}" == *"debian"* ]]; then
|
||||||
echo 'deb http://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
echo 'deb https://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
||||||
echo 'deb-src http://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
echo 'deb-src https://deb.debian.org/debian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
||||||
|
|
||||||
if [ -z "$BACKPORTS" ]; then
|
if [ -z "$BACKPORTS" ]; then
|
||||||
echo 'deb http://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
echo 'deb https://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
||||||
echo 'deb-src http://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
echo 'deb-src https://deb.debian.org/debian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
||||||
fi
|
fi
|
||||||
elif [[ "${OS_DISTRO,,}" == *"raspbian"* ]]; then
|
elif [[ "${OS_DISTRO,,}" == *"raspbian"* ]]; then
|
||||||
echo 'deb http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
echo 'deb https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
||||||
echo 'deb-src http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
echo 'deb-src https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"' main contrib non-free'
|
||||||
|
|
||||||
if [ -z "$BACKPORTS" ]; then
|
if [ -z "$BACKPORTS" ]; then
|
||||||
echo 'deb http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
echo 'deb https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
||||||
echo 'deb-src http://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
echo 'deb-src https://archive.raspbian.org/raspbian '"$OS_SHORT_CODENAME"'-backports main contrib non-free'
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
SKIP_BUILD_DEP="yes"
|
SKIP_BUILD_DEP="yes"
|
||||||
|
|
|
@ -13,7 +13,7 @@ cp ./startup.sh /scripts/s
|
||||||
cp ./startup_chat.sh /scripts/s2
|
cp ./startup_chat.sh /scripts/s2
|
||||||
chmod +x /scripts/*
|
chmod +x /scripts/*
|
||||||
|
|
||||||
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||||
apt -y update
|
apt -y update
|
||||||
apt -y install postgresql-14
|
apt -y install postgresql-14
|
||||||
|
|
Loading…
Reference in New Issue