installation with packages doesn't delete the tmp directory that was created
varemenos opened this issue · 5 comments
I'm trying to install ellipsis and my dot-files in 1 go but for some reason it leaves behind the tmp-*
directory.
here is the exact command im using: curl -sL ellipsis.sh | PACKAGES='varemenos/files' sh
after that if I run ls, I will get the following tmp directory left behind
home% ls
tmp-C05GqF
Hi @varemenos ,
Is this behavior reproducible? Are you sure the installation is successful and the exit code is 0
?
Can you check /tmp
for a file called ellipsis.log
? Please also paste the output of ellipsis info
.
Thank you!
Hey @groggemans, really sorry for bothering you with this issue.
Here is the whole process:
home% ls
.bash_logout .bash_profile .bashrc
home% curl -sL ellipsis.sh | PACKAGES='varemenos/files' sh
Cloning into 'tmp-MnH0rH/ellipsis'...
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 66 (delta 2), reused 17 (delta 1), pack-reused 0
Unpacking objects: 100% (66/66), done.
Installing varemenos/files
Cloning into 'tmp-MnH0rH/ellipsis/packages/files'...
remote: Counting objects: 28, done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 28 (delta 0), reused 17 (delta 0), pack-reused 0
Unpacking objects: 100% (28/28), done.
tmp-MnH0rH/ellipsis/packages/files/ellipsis.sh: line 20: type: zplug: not found
✔ Checking if your zsh version is newer than 4.1.9 [SUCCEEDED]
✔ Installing zplug to /home/test/.zplug [SUCCEEDED]
All processes are successfully completed 🎉
For more information, see http://zplug.sh 🌺
Enjoy zplug!
linking /home/test/files/common/aliases.sh -> ~/.aliases.sh
linking /home/test/files/common/curlrc -> ~/.curlrc
linking /home/test/files/common/editorconfig -> ~/.editorconfig
linking /home/test/files/common/functions.sh -> ~/.functions.sh
linking /home/test/files/common/gemrc -> ~/.gemrc
linking /home/test/files/common/gitconfig -> ~/.gitconfig
linking /home/test/files/common/npmrc -> ~/.npmrc
linking /home/test/files/common/zshenv -> ~/.zshenv
linking /home/test/files/common/zshrc -> ~/.zshrc
linking /home/test/files/platform/linux/selected_editor -> ~/.selected_editor
~ fin ~
_ _ _
/\_\ /\_\ /\_\
\/_/ \/_/ \/_/ …because $HOME is where the <3 is!
Be sure to add `export PATH=~/.ellipsis/bin:$PATH` to your bashrc or zshrc.
Run `ellipsis install <package>` to install a new package.
Run `ellipsis search <query>` to search for packages to install.
Run `ellipsis help` for additional options.
home% echo $?
0
Seems like it's exiting with 0
home% ls -la
drwx------ 5 test users 4096 Νοέ 10 00:50 .
drwxr-xr-x 4 root root 4096 Νοέ 10 00:49 ..
lrwxrwxrwx 1 test users 63 Νοέ 10 00:50 .aliases.sh -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/aliases.sh
-rw-r--r-- 1 test users 21 Φεβ 14 2017 .bash_logout
-rw-r--r-- 1 test users 57 Φεβ 14 2017 .bash_profile
-rw-r--r-- 1 test users 141 Φεβ 14 2017 .bashrc
lrwxrwxrwx 1 test users 59 Νοέ 10 00:50 .curlrc -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/curlrc
lrwxrwxrwx 1 test users 65 Νοέ 10 00:50 .editorconfig -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/editorconfig
drwxr-xr-x 9 test users 4096 Νοέ 10 00:50 .ellipsis
lrwxrwxrwx 1 test users 65 Νοέ 10 00:50 .functions.sh -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/functions.sh
lrwxrwxrwx 1 test users 58 Νοέ 10 00:50 .gemrc -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/gemrc
lrwxrwxrwx 1 test users 62 Νοέ 10 00:50 .gitconfig -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/gitconfig
lrwxrwxrwx 1 test users 58 Νοέ 10 00:50 .npmrc -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/npmrc
lrwxrwxrwx 1 test users 76 Νοέ 10 00:50 .selected_editor -> /home/test/tmp-MnH0rH/ellipsis/packages/files/platform/linux/selected_editor
drwxr-xr-x 3 test users 4096 Νοέ 10 00:50 tmp-MnH0rH
drwxr-xr-x 10 test users 4096 Νοέ 10 00:50 .zplug
lrwxrwxrwx 1 test users 59 Νοέ 10 00:50 .zshenv -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/zshenv
lrwxrwxrwx 1 test users 58 Νοέ 10 00:50 .zshrc -> /home/test/tmp-MnH0rH/ellipsis/packages/files/common/zshrc
test@home ~ » ellipsis info
v1.9.5 (087dd84)
Home: /home/test
User: varemenos
Init:
Path: /home/test/.ellipsis
Config:
Packages: /home/test/.ellipsis/packages
there is no ellipsis.log in /tmp
test@home ~ » ls /tmp
'Atom Crashes' ssh-8AQjWVRuvys6 ssh-YnlS12a05So systemd-private-0ecd142d058b5a2g33867f5d9703a7cf-systemd-timesyncd.service-4V1tKE atom-1.22.0-test.sock
npm-1234-fe9b1696 ssh-VgdacZilAxte tracker-extract-files.1000 systemd-private-0ecd142d058b4d1f838671f25703a7cf-colord.service-ZelE8Y
No problem, thank you for reporting the issue. 👍
I've pinpointed the problem and should have a fix out soon!
@varemenos issue should be fixed, thank you!
I can confirm that it's fixed, thanks!