This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- yum.py 2017-01-24 20:21:57.270837376 +0300 | |
+++ yum.py.patched 2017-01-24 19:48:15.540170890 +0300 | |
@@ -801,7 +801,9 @@ | |
return res | |
elif rc == 100: | |
# remove incorrect new lines in longer columns in output from yum check-update | |
- out=re.sub('\n\W+', ' ', out) | |
+ out=re.sub('i686\n\W+', ' ', out) | |
+ out=re.sub('noarch\n\W+', ' ', out) | |
+ out=re.sub('x86_64\n\W+', ' ', out) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Copyright (C) 2013 eNovance SAS <licensing@enovance.com> | |
# | |
# Author: Sylvain Afchain <sylvain.afchain@enovance.com> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
wait example-service run | |
# need commands | |
# Run confd/crond in the background | |
rm -f /etc/service/confd/down | |
rm -f /etc/service/cron/down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
SERVICE=$1 | |
case "$2" in | |
run|start ) | |
STATUS=run ;; | |
stop|down ) | |
STATUS=down ;; | |
* ) | |
STATUS=run ;; |