fix
This commit is contained in:
parent
e89aa4489b
commit
a7639e9c14
@ -153,7 +153,6 @@ os-restore() {
|
|||||||
|
|
||||||
if [ "$3" = "home" ]; then
|
if [ "$3" = "home" ]; then
|
||||||
rsync -a --delete /home/ $TARGET/home/
|
rsync -a --delete /home/ $TARGET/home/
|
||||||
chown -R $USER:$USER $TARGET/home/$USER
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fstab
|
fstab
|
||||||
@ -162,6 +161,7 @@ os-restore() {
|
|||||||
chmod +x $TARGET/debian.sh
|
chmod +x $TARGET/debian.sh
|
||||||
chroot $TARGET /debian.sh bootloader $1
|
chroot $TARGET /debian.sh bootloader $1
|
||||||
chroot $TARGET /debian.sh btrfs-tweaks
|
chroot $TARGET /debian.sh btrfs-tweaks
|
||||||
|
chown -R $USER:$USER $TARGET/home/$USER
|
||||||
rm -f $TARGET/debian.sh
|
rm -f $TARGET/debian.sh
|
||||||
unmount
|
unmount
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user