├── .gitattributes ├── LICENSE ├── README.md └── manjaro2arch.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # it was a meme, not safe, don't use. install archlinux manually! 2 | -------------------------------------------------------------------------------- /manjaro2arch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ `id -u` -eq 0 ];then 3 | echo "Welcome to Arch Linux" 4 | else 5 | echo "Please run with root permission" 6 | exit 1 7 | fi 8 | mv /etc/pacman.conf /etc/pacman.conf.bak 9 | mv /etc/manjaro-release /etc/manjaro-release.bak 10 | mv /etc/pacman-mirrors.conf /etc/pacman-mirrors.conf.bak 11 | mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak 12 | cat </etc/pacman.conf 13 | [options] 14 | SigLevel = Never 15 | LocalFileSigLevel = Optional 16 | HoldPkg = pacman glibc 17 | SyncFirst = pacman 18 | Architecture = auto 19 | Color 20 | CheckSpace 21 | [core] 22 | Include = /etc/pacman.d/mirrorlist 23 | [extra] 24 | Include = /etc/pacman.d/mirrorlist 25 | [community] 26 | Include = /etc/pacman.d/mirrorlist 27 | [multilib] 28 | Include = /etc/pacman.d/mirrorlist 29 | EOF 30 | [ -z "$SERVER" ] && SERVER='https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch' 31 | cat </etc/pacman.d/mirrorlist 32 | Server = $SERVER 33 | EOF 34 | pacman -Syyuu --noconfirm filesystem pacman bash linux breeze-grub breeze-gtk # Force reinstall 35 | pacman -Rdd --noconfirm $(pacman -Qq | grep -E 'manjaro|breath') 36 | cp /usr/share/grub/themes/breeze /boot/grub/themes/ 37 | sed 's/^GRUB_THEME.*$/GRUB_THEME="/boot/grub/themes/breeze/theme.txt"/g' /etc/default/grub -i && grub-mkconfig -o /boot/grub/grub.cfg 38 | exit 0 39 | --------------------------------------------------------------------------------