thus doesnt want the initial "/"
This commit is contained in:
parent
35a3ed6a4c
commit
ccf80ec10c
1 changed files with 3 additions and 3 deletions
|
@ -157,9 +157,9 @@ configure_thus(){
|
||||||
echo "LIVE_MEDIA_TYPE = \"squashfs\"" >> "$conf"
|
echo "LIVE_MEDIA_TYPE = \"squashfs\"" >> "$conf"
|
||||||
echo "LIVE_USER_NAME = \"${username}\"" >> "$conf"
|
echo "LIVE_USER_NAME = \"${username}\"" >> "$conf"
|
||||||
echo "KERNEL = \"${kernel}\"" >> "$conf"
|
echo "KERNEL = \"${kernel}\"" >> "$conf"
|
||||||
echo "VMLINUZ = \"$(echo ${ALL_kver} | sed s'|/boot||')\"" >> "$conf"
|
echo "VMLINUZ = \"$(echo ${ALL_kver} | sed s'|/boot/||')\"" >> "$conf"
|
||||||
echo "INITRAMFS = \"$(echo ${default_image} | sed s'|/boot||')\"" >> "$conf"
|
echo "INITRAMFS = \"$(echo ${default_image} | sed s'|/boot/||')\"" >> "$conf"
|
||||||
echo "FALLBACK = \"$(echo ${fallback_image} | sed s'|/boot||')\"" >> "$conf"
|
echo "FALLBACK = \"$(echo ${fallback_image} | sed s'|/boot/||')\"" >> "$conf"
|
||||||
mkdir -p $1/home/${username}/Desktop
|
mkdir -p $1/home/${username}/Desktop
|
||||||
if [[ -f $1/usr/bin/kdesu ]];then
|
if [[ -f $1/usr/bin/kdesu ]];then
|
||||||
sed -i -e 's|sudo|kdesu|g' $1/usr/share/applications/thus.desktop
|
sed -i -e 's|sudo|kdesu|g' $1/usr/share/applications/thus.desktop
|
||||||
|
|
Loading…
Reference in a new issue