Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/web/themes/contrib/bootstrap/scripts/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor1/web/themes/contrib/bootstrap/scripts/create_subtheme.sh

#!/bin/bash
# Script to quickly create sub-theme.

echo '
+------------------------------------------------------------------------+
| With this script you could quickly create bootstrap sub-theme             |
| In order to use this:                                                  |
| - bootstrap theme (this folder) should be in the contrib folder |
+------------------------------------------------------------------------+
'
echo 'Your theme name ? [e.g. My custom bootstrap]'
read CUSTOM_BOOTSTRAP_NAME

echo 'The machine name of your custom theme? [e.g. mycustom_bootstrap]'
read CUSTOM_BOOTSTRAP

if [[ ! -e ../../custom ]]; then
    mkdir ../../custom
fi
cp -r subthemes/bootstrap_subtheme ../../custom/$CUSTOM_BOOTSTRAP
cd ../../custom/$CUSTOM_BOOTSTRAP
for file in *bootstrap_subtheme.*; do mv $file ${file//bootstrap_subtheme/$CUSTOM_BOOTSTRAP}; done
for file in config/*/*bootstrap_subtheme*.*; do mv $file ${file//bootstrap_subtheme/$CUSTOM_BOOTSTRAP}; done
mv $CUSTOM_BOOTSTRAP.theme
if [[ "$OSTYPE" == "darwin"* ]]; then
  grep -Rl bootstrap_subtheme .|xargs sed -i '' -e "s/bootstrap_subtheme/$CUSTOM_BOOTSTRAP/"
else
  grep -Rl bootstrap_subtheme .|xargs sed -i -e "s/bootstrap_subtheme/$CUSTOM_BOOTSTRAP/"
fi
sed -i -e "s/Bootstrap Subtheme/$CUSTOM_BOOTSTRAP_NAME/" $CUSTOM_BOOTSTRAP.info.yml
echo "# Check the themes/custom folder for your new sub-theme."

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net