fixed config
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
# Qubes OS
|
||||
|
||||
* template-pi.sh : Default template post-installation script
|
||||
## template-pi.sh
|
||||
|
||||
Default template post-installation script.
|
||||
|
||||
```
|
||||
$ sudo ./template-pi.sh
|
||||
$ localectl set-locale fr_FR.UTF-8 ### Might be not necessary
|
||||
```
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# If root
|
||||
ID=$(id -u)
|
||||
if [ "$ID" -ne 0 ]
|
||||
then
|
||||
echo
|
||||
echo "Please run as root!"
|
||||
exit
|
||||
fi
|
||||
|
||||
# RPM Fusion
|
||||
dnf config-manager setopt rpmfusion-free.enabled=1
|
||||
dnf config-manager setopt rpmfusion-free-updates.enabled=1
|
||||
@@ -20,8 +29,8 @@ dnf install mozilla-ublock-origin
|
||||
dnf install ffmpeg --allowerasing
|
||||
|
||||
# User configuration
|
||||
mkdir -p /rw/usrlocal/etc/skel/.config
|
||||
cp -r usrconfig/. /rw/usrlocal/etc/skel/.config/
|
||||
mkdir -p /etc/skel
|
||||
cp -r skel/. /etc/skel
|
||||
|
||||
# Set locale
|
||||
localectl set-locale fr_FR.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user