Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 87cacc52 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Add the README file and the install script

parent 0d6f9328
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# ARISE plymouth theme
## Installation instructions
- Un-tar the archive or git clone the repository
```bash
tar xvf arise-theme.tar
```
- Copy the content of the folder into plymouth's data folder as root:
```bash
chmod +x install.sh
sudo ./install.sh
```
- Update the alternatives, when prompted select the `arise-theme` option:
```bash
sudo update-alternatives --config default.plymouth
# Here select the arise-theme plymouth theme
```
- Then update the initramfs
```bash
sudo update-initramfs -u
```
## Update instructions
Just untar the new `arise-theme.tar` or pull from the repo then re-run the `install.sh` script.
\ No newline at end of file
#!/bin/sh
INSTALL_FILES="animation.png arise-theme.plymouth arise-theme.script background.png box.png bullet.png entry.png install.sh lock.png logo.png motif.png progress_bar.png progress_box.png progress_box_background.png progress_box_edge.png suspend.png"
INSTALL_FOLDER="/use/share/plymouth/themes"
THEME_FOLDER="$INSTALL_FOLDER/arise-theme"
function die() {
echo "$*"
exit 1
}
mkdir -p "$THEME_FOLDER" || die "Failed to create folder $THEME_FOLDER"
for FILE in $INSTALL_FILES
do
cp "$FILE" "$THEME_FOLDER/$FILE" || die "Failed to copy file $FILE into $THEME_FOLDER"
done
update-alternatives --install "$INSTALL_FOLDER/default.plymouth" default.plymouth "$THEME_FOLDER/arise-theme.plymouth" 100
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter