summaryrefslogtreecommitdiff
path: root/upgrade-gentoo
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-12-04 14:31:05 +0100
committerPatrick Simianer <p@simianer.de>2016-12-04 14:31:05 +0100
commita37671558e5f3a4578d783f4dad1c8116183ac38 (patch)
treeaf20785f28ca31f9a96a756a5032e53d2c495369 /upgrade-gentoo
parent64a24e72b8c5c5b726584c6e65c127e152834497 (diff)
upgrade-gentoo: fix
Diffstat (limited to 'upgrade-gentoo')
-rwxr-xr-xupgrade-gentoo4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade-gentoo b/upgrade-gentoo
index 026c4fc..853a7c4 100755
--- a/upgrade-gentoo
+++ b/upgrade-gentoo
@@ -1,7 +1,7 @@
#!/bin/zsh
if grep -qs '/media/ext_sd' /proc/mounts; then
- mount -o remount,nousers,noauto /media/ext_sd
+ mount -o remount,exec,nouser,nousers /media/ext_sd
mkdir /media/ext_sd/tmp
chmod 777 /media/ext_sd/tmp
else
@@ -30,6 +30,6 @@ mksquashfs portage portage.squashfs -comp xz
rm -rf /usr/portage
mkdir /usr/portage
mount portage
-rm -r /media/dock/tmp
+rm -r /media/ext_sd/tmp
mount -o remount,users,auto /media/ext_sd