💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-05-30.txt captured on 2024-05-12 at 16:08:23.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-05-30T00:35:08 #kisslinux <Killswitch> hello 2020-05-30T09:20:33 #kisslinux <dylan02> o. 2020-05-30T09:20:36 #kisslinux <dylan02> o/ 2020-05-30T12:39:03 #kisslinux <illiliti> how to check if a variable is exported in posix shell ? i.e : export var=123; is_exported var && do something ... 2020-05-30T12:40:39 #kisslinux <djt3[m]> i dont know shell but would if [$var] or whatever the syntax is not work? 2020-05-30T12:41:57 #kisslinux <illiliti> nope. var might be not exported 2020-05-30T12:48:47 #kisslinux <illiliti> https://termbin.com/0l39 found a way if anyone is interested... 2020-05-30T13:12:06 #kisslinux <aarng> illiliti: how about `sh -c '[ -n "$FOO" ]' && printf '$FOO is exportedn'` ? 2020-05-30T13:13:56 #kisslinux <aarng> better than parsing the output of `export` and since that spawns a sub-shell anyway (because of the read pipe), might as well just call another shell 2020-05-30T13:17:13 #kisslinux <aarng> only problem is it can't be empty but there are other ways to check in the sub-shell 2020-05-30T13:18:40 #kisslinux <illiliti> looks good too, but in my case i need to unset exported variables 2020-05-30T13:22:01 #kisslinux <illiliti> so parsing export output is better 2020-05-30T13:23:31 #kisslinux <aarng> mhh, but you can't unset in the loop since it's a sub-shell 2020-05-30T13:24:11 #kisslinux <illiliti> i can 2020-05-30T13:24:46 #kisslinux <illiliti> export -p | { ... } 2020-05-30T13:26:38 #kisslinux <aarng> ok, I mean I can't tell because I don't know your code 2020-05-30T13:27:07 #kisslinux <aarng> but `unset` in the right side of the pipe shouldn't affect the parent shell 2020-05-30T13:27:54 #kisslinux <illiliti> true 2020-05-30T13:36:04 #kisslinux <aarng> This works with empty variables: `sh -c '[ -n "${FOO+ }" ]' && unset FOO` 2020-05-30T16:11:38 #kisslinux <ax> good day 2020-05-30T16:53:10 #kisslinux <konimex> the new github icons are weird 2020-05-30T16:53:12 #kisslinux <konimex> damn 2020-05-30T16:59:18 #kisslinux <merakor> I can't connect to kernel.org for ssl errors 2020-05-30T16:59:33 #kisslinux <merakor> Is it only me? 2020-05-30T16:59:53 #kisslinux <merakor> By ssl error, I mean certificate errors 2020-05-30T17:01:21 #kisslinux <konimex> the certs expired 2020-05-30T17:01:27 #kisslinux <ectlunya> konimex: gcc 10 breaks sxhkd 2020-05-30T17:01:39 #kisslinux <ectlunya> https://github.com/baskerville/sxhkd/issues/189 2020-05-30T17:02:01 #kisslinux <konimex> hurrah for clang! 2020-05-30T17:02:04 #kisslinux <konimex> anyway, thanks 2020-05-30T17:02:11 #kisslinux <konimex> is bspwm affected too? 2020-05-30T17:02:49 #kisslinux <konimex> I don't have any traces of gcc in my system so I can't test 2020-05-30T17:02:51 #kisslinux <ectlunya> looks like it 2020-05-30T17:02:56 #kisslinux <ectlunya> although I only use sxhkd 2020-05-30T17:03:19 #kisslinux <ectlunya> i added this patch in my local repo for a temporary fix 2020-05-30T17:03:24 #kisslinux <ectlunya> https://termbin.com/ykin 2020-05-30T17:03:28 #kisslinux <konimex> alright, will push it upstream 2020-05-30T17:04:27 #kisslinux <konimex> (kiss community, I mean) 2020-05-30T17:24:29 #kisslinux <merakor> konimex: thanks, I was confused because the certificate expiration date is set to december of 2020 2020-05-30T17:25:11 #kisslinux <merakor> Seems to be the case for the cert authority as a whole 2020-05-30T17:25:58 #kisslinux <merakor> gmplib.org is down as well 2020-05-30T17:47:34 #kisslinux <dilynm> eudald: let me know if you have any other issues with KDE! Now that we've mostly figured out these qt problems I can get back to working on it 2020-05-30T17:48:03 #kisslinux <dilynm> Until claudia: updates qt5-wayland you might run into build problems with it; you can just update it to 5.15.0 yourself and it should be fine 2020-05-30T18:50:32 #kisslinux <claudia> qt5-wayland updated